From f86bfeb3a1c3c87d4aaf906e5316775a2690df9d Mon Sep 17 00:00:00 2001 From: Tristan Darricau <github@nicofuma.fr> Date: Mon, 28 Jul 2014 14:45:39 +0200 Subject: [PATCH] [ticket/12898] Call garbage_collection() at the end of cron.php PHPBB3-12898 --- phpBB/cron.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/phpBB/cron.php b/phpBB/cron.php index 8bb49bd5d2..3f022b1db8 100644 --- a/phpBB/cron.php +++ b/phpBB/cron.php @@ -62,8 +62,9 @@ if ($cron_lock->acquire()) if ($task->is_ready()) { $task->run(); - garbage_collection(); } } $cron_lock->release(); } + +garbage_collection();