mirror of
https://github.com/phpbb/phpbb.git
synced 2025-07-30 21:40:43 +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:
@@ -81,6 +81,19 @@ switch ($cron_type)
|
||||
}
|
||||
set_config('search_last_gc', time());
|
||||
|
||||
case 'tidy_warnings':
|
||||
include_once($phpbb_root_path . 'includes/functions_admin.'.$phpEx);
|
||||
|
||||
if ($use_shutdown_function)
|
||||
{
|
||||
register_shutdown_function('tidy_warnings');
|
||||
}
|
||||
else
|
||||
{
|
||||
tidy_warnings();
|
||||
}
|
||||
break;
|
||||
|
||||
case 'tidy_database':
|
||||
include_once($phpbb_root_path . 'includes/functions_admin.'.$phpEx);
|
||||
|
||||
|
Reference in New Issue
Block a user