Skip to content

Commit

Permalink
refs #1300
Browse files Browse the repository at this point in the history
  * 새  line 을 작성할 때 캐시를 삭제하도록 함.
  • Loading branch information
inureyes committed Jul 24, 2009
1 parent 97c67d9 commit 09a3340
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion interface/blog/line.php
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,14 @@
$password = Setting::getBlogSetting('LinePassword', null, true);
if($password == $_GET['key']) {
$lineobj->content = $_GET['content'];
$lineobj->showResult($lineobj->add());
$result = $lineobj->add();
$cache = new pageCache;
$cache->name = 'linesATOM';
$cache->purge();
$cache->reset();
$cache->name = 'linesRSS';
$cache->purge();
$lineobj->showResult($result);
}
} else {
/// Prints public lines
Expand All @@ -27,4 +34,5 @@
require ROOT . '/interface/common/blog/end.php';
fireEvent('OBEnd');
}
exit;
?>

0 comments on commit 09a3340

Please # to comment.