more recently updated comments
This commit is contained in:
parent
95c4d809a9
commit
a23498a8d7
@ -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);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user