mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-28 14:18:52 +00:00
[ticket/12597] Fix misplaced release of db lock
PHPBB3-12597
This commit is contained in:
parent
9a78772745
commit
5fca308138
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||||
|
|
Loading…
Add table
Reference in a new issue