mirror of
https://github.com/phpbb/phpbb.git
synced 2025-08-05 00:07:44 +02:00
Expire issued warnings after and admin configurable time
TODO: Add config option for this value to the ACP git-svn-id: file:///svn/phpbb/trunk@5602 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
@@ -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
|
||||
|
Reference in New Issue
Block a user