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:
@@ -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();
|
||||||
|
Reference in New Issue
Block a user