1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-08-02 23:07:39 +02:00

[ticket/12597] Fix misplaced release of db lock

PHPBB3-12597
This commit is contained in:
LEZY Thomas
2014-05-28 16:47:57 +02:00
parent 9a78772745
commit 5fca308138

View File

@@ -60,10 +60,10 @@ if ($cron_lock->acquire())
if ($task->is_ready()) if ($task->is_ready())
{ {
$task->run(); $task->run();
$cron_lock->release();
garbage_collection(); garbage_collection();
} }
} }
$cron_lock->release();
} }
else else