diff options
author | Joas Schilling <nickvergessen@gmx.de> | 2009-07-14 20:35:53 +0000 |
---|---|---|
committer | Joas Schilling <nickvergessen@gmx.de> | 2009-07-14 20:35:53 +0000 |
commit | e3866c939d78b925844cd61d6ad567988f24e42d (patch) | |
tree | 5dc7ead67990b8770adac05a2d9464064e33e617 /phpBB/includes/functions.php | |
parent | 0b2979c6bab97297f839937606635fd4cc6b1eae (diff) | |
download | forums-e3866c939d78b925844cd61d6ad567988f24e42d.tar forums-e3866c939d78b925844cd61d6ad567988f24e42d.tar.gz forums-e3866c939d78b925844cd61d6ad567988f24e42d.tar.bz2 forums-e3866c939d78b925844cd61d6ad567988f24e42d.tar.xz forums-e3866c939d78b925844cd61d6ad567988f24e42d.zip |
Feature Bug #43375 - Ability to delete warnings and keep warnings permanently
Authorised by: AcydBurn
git-svn-id: file:///svn/phpbb/branches/phpBB-3_0_0@9758 89ea8834-ac86-4346-8a33-228a782c2dd0
Diffstat (limited to 'phpBB/includes/functions.php')
-rw-r--r-- | phpBB/includes/functions.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/phpBB/includes/functions.php b/phpBB/includes/functions.php index 74f7e31bee..eaaa8aaf6a 100644 --- a/phpBB/includes/functions.php +++ b/phpBB/includes/functions.php @@ -4025,7 +4025,7 @@ function page_footer($run_cron = true) // Tidy the cache $cron_type = 'tidy_cache'; } - else if (time() - $config['warnings_gc'] > $config['warnings_last_gc']) + else if ($config['warnings_last_gc'] && (time() - $config['warnings_gc'] > $config['warnings_last_gc'])) { $cron_type = 'tidy_warnings'; } |