Merge branch 'master' of github.com:shish/shimmie2
This commit is contained in:
commit
154070a739
@ -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