mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-08 04:18:52 +00:00
[ticket/12898] Call garbage_collection() at the end of cron.php
PHPBB3-12898
This commit is contained in:
parent
3df41920f7
commit
f86bfeb3a1
1 changed files with 2 additions and 1 deletions
|
@ -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();
|
||||||
|
|
Loading…
Add table
Reference in a new issue