diff options
Diffstat (limited to 'phpBB/cron.php')
-rw-r--r-- | phpBB/cron.php | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/phpBB/cron.php b/phpBB/cron.php index 848c263009..15564e1f5c 100644 --- a/phpBB/cron.php +++ b/phpBB/cron.php @@ -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); |