mirror of
https://github.com/phpbb/phpbb.git
synced 2025-04-21 00:02:18 +02:00
[ticket/12597] Fix misplaced release of db lock
PHPBB3-12597
This commit is contained in:
parent
9a78772745
commit
5fca308138
@ -60,10 +60,10 @@ if ($cron_lock->acquire())
|
||||
if ($task->is_ready())
|
||||
{
|
||||
$task->run();
|
||||
$cron_lock->release();
|
||||
garbage_collection();
|
||||
}
|
||||
}
|
||||
$cron_lock->release();
|
||||
|
||||
}
|
||||
else
|
||||
|
Loading…
x
Reference in New Issue
Block a user