aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/includes/functions_admin.php
diff options
context:
space:
mode:
authorDavid M <davidmj@users.sourceforge.net>2007-04-11 20:35:11 +0000
committerDavid M <davidmj@users.sourceforge.net>2007-04-11 20:35:11 +0000
commit13e563fb449e67cfd3fc1bca6afc7df5e1c9ff68 (patch)
tree28f03564480781d7b7e13633fe3782e58076f4b2 /phpBB/includes/functions_admin.php
parentb62268e8c2052105715949a57d73ef4ea9a4355d (diff)
downloadforums-13e563fb449e67cfd3fc1bca6afc7df5e1c9ff68.tar
forums-13e563fb449e67cfd3fc1bca6afc7df5e1c9ff68.tar.gz
forums-13e563fb449e67cfd3fc1bca6afc7df5e1c9ff68.tar.bz2
forums-13e563fb449e67cfd3fc1bca6afc7df5e1c9ff68.tar.xz
forums-13e563fb449e67cfd3fc1bca6afc7df5e1c9ff68.zip
add caching to one attachment ACP query, affix the proper TTL for a query in functions_admin
git-svn-id: file:///svn/phpbb/trunk@7327 89ea8834-ac86-4346-8a33-228a782c2dd0
Diffstat (limited to 'phpBB/includes/functions_admin.php')
-rw-r--r--phpBB/includes/functions_admin.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/phpBB/includes/functions_admin.php b/phpBB/includes/functions_admin.php
index 275b8bc38d..7437255f2f 100644
--- a/phpBB/includes/functions_admin.php
+++ b/phpBB/includes/functions_admin.php
@@ -249,7 +249,7 @@ function get_forum_list($acl_list = 'f_list', $id_only = true, $postable_only =
if (!isset($forum_rows))
{
// This query is identical to the jumpbox one
- $expire_time = ($no_cache) ? 0 : 120;
+ $expire_time = ($no_cache) ? 0 : 600;
$sql = 'SELECT forum_id, forum_name, parent_id, forum_type, left_id, right_id
FROM ' . FORUMS_TABLE . '