aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/includes/functions.php
diff options
context:
space:
mode:
authorJoas Schilling <nickvergessen@gmx.de>2009-07-22 11:47:37 +0000
committerJoas Schilling <nickvergessen@gmx.de>2009-07-22 11:47:37 +0000
commit818b252f208b92157b56b101aac555eb1efb8cee (patch)
treed5757e59dc52e0635e9bf47aa9817b9b242fb5c8 /phpBB/includes/functions.php
parent2dfd327828a5f6387ea051aa9e588f39249ed059 (diff)
downloadforums-818b252f208b92157b56b101aac555eb1efb8cee.tar
forums-818b252f208b92157b56b101aac555eb1efb8cee.tar.gz
forums-818b252f208b92157b56b101aac555eb1efb8cee.tar.bz2
forums-818b252f208b92157b56b101aac555eb1efb8cee.tar.xz
forums-818b252f208b92157b56b101aac555eb1efb8cee.zip
fix r9758
Authorised by: AcydBurn git-svn-id: file:///svn/phpbb/branches/phpBB-3_0_0@9828 89ea8834-ac86-4346-8a33-228a782c2dd0
Diffstat (limited to 'phpBB/includes/functions.php')
-rw-r--r--phpBB/includes/functions.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/phpBB/includes/functions.php b/phpBB/includes/functions.php
index 2dd28b2ffe..1a791ebff9 100644
--- a/phpBB/includes/functions.php
+++ b/phpBB/includes/functions.php
@@ -4035,7 +4035,7 @@ function page_footer($run_cron = true)
// Tidy the cache
$cron_type = 'tidy_cache';
}
- else if ($config['warnings_last_gc'] && (time() - $config['warnings_gc'] > $config['warnings_last_gc']))
+ else if ($config['warnings_expire_days'] && (time() - $config['warnings_gc'] > $config['warnings_last_gc']))
{
$cron_type = 'tidy_warnings';
}