1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-07-31 22:10:45 +02:00

[ticket/12898] Call garbage_collection() at the end of cron.php

PHPBB3-12898
This commit is contained in:
Tristan Darricau
2014-07-28 14:45:39 +02:00
parent 3df41920f7
commit f86bfeb3a1

View File

@@ -62,8 +62,9 @@ if ($cron_lock->acquire())
if ($task->is_ready()) if ($task->is_ready())
{ {
$task->run(); $task->run();
garbage_collection();
} }
} }
$cron_lock->release(); $cron_lock->release();
} }
garbage_collection();