more recently updated comments

This commit is contained in:
Shish 2012-03-15 06:17:19 +00:00
parent 95c4d809a9
commit a23498a8d7

View File

@ -168,7 +168,7 @@ class CommentList extends Extension {
$recent = $database->cache->get("recent_comments"); $recent = $database->cache->get("recent_comments");
if(empty($recent)) { if(empty($recent)) {
$recent = $this->get_recent_comments($cc); $recent = $this->get_recent_comments($cc);
$database->cache->set("recent_comments", $recent, 600); $database->cache->set("recent_comments", $recent, 60);
} }
if(count($recent) > 0) { if(count($recent) > 0) {
$this->theme->display_recent_comments($recent); $this->theme->display_recent_comments($recent);