mirror of
https://github.com/phpbb/phpbb.git
synced 2025-08-06 16:56:44 +02:00
[feature/dic] Move cron.lock_db into DIC
PHPBB3-10739
This commit is contained in:
@@ -71,7 +71,7 @@ else
|
||||
output_image();
|
||||
}
|
||||
|
||||
$cron_lock = new phpbb_lock_db('cron_lock', $config, $db);
|
||||
$cron_lock = $container->get('cron.lock_db');
|
||||
if ($cron_lock->acquire())
|
||||
{
|
||||
if ($config['use_system_cron'])
|
||||
|
Reference in New Issue
Block a user