[ticket/644] Reduce caching time on portal page

B3P-644
This commit is contained in:
Marc Alexander
2015-08-04 14:48:31 +02:00
parent f3dd0c37c1
commit a991cb1359
4 changed files with 5 additions and 5 deletions

View File

@@ -218,7 +218,7 @@ class news extends module_base
AND topic_visibility = ' . ITEM_APPROVED . '
AND topic_moved_id = 0
' . $str_where;
$result = $this->db->sql_query($sql, 300);
$result = $this->db->sql_query($sql, 30);
$total_news = (int) $this->db->sql_fetchfield('num_topics');
$this->db->sql_freeresult($result);
}