diff options
Diffstat (limited to 'phpBB/includes/functions.php')
-rw-r--r-- | phpBB/includes/functions.php | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/phpBB/includes/functions.php b/phpBB/includes/functions.php index 4a5838effe..1949b5f6c4 100644 --- a/phpBB/includes/functions.php +++ b/phpBB/includes/functions.php @@ -2171,6 +2171,10 @@ function page_footer() // Tidy the cache $cron_type = 'tidy_cache'; } + else if (time() - $config['warnings_last_gc'] > $config['warnings_gc']) + { + $cron_type = 'tidy_warnings'; + } else if (time() - (7 * 24 * 3600) > $config['database_last_gc']) { // Tidy some table rows every week |