aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/cron.php
diff options
context:
space:
mode:
authorIgor Wiedler <igor@wiedler.ch>2012-04-01 01:13:00 +0200
committerIgor Wiedler <igor@wiedler.ch>2012-04-01 01:13:19 +0200
commite78fbfef9c6aac1349d18454a4292781d661795c (patch)
tree1dd643a983637d7c2c7b22e0f3705403c463290b /phpBB/cron.php
parent35c78c127b8fefe56512faaf83c47bee28908e0f (diff)
downloadforums-e78fbfef9c6aac1349d18454a4292781d661795c.tar
forums-e78fbfef9c6aac1349d18454a4292781d661795c.tar.gz
forums-e78fbfef9c6aac1349d18454a4292781d661795c.tar.bz2
forums-e78fbfef9c6aac1349d18454a4292781d661795c.tar.xz
forums-e78fbfef9c6aac1349d18454a4292781d661795c.zip
[feature/dic] Move cron.lock_db into DIC
PHPBB3-10739
Diffstat (limited to 'phpBB/cron.php')
-rw-r--r--phpBB/cron.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/phpBB/cron.php b/phpBB/cron.php
index 36b771f1b7..df48c2dc4d 100644
--- a/phpBB/cron.php
+++ b/phpBB/cron.php
@@ -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'])