aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIgor Wiedler <igor@wiedler.ch>2012-04-09 14:37:04 +0200
committerIgor Wiedler <igor@wiedler.ch>2012-04-09 14:37:04 +0200
commit0a5348a1376fafb487884086a70069bea8c5640b (patch)
tree25c145098620ddf4a1dffb25afe74a0bb4488174 /phpBB/cron.php
parent[feature/dic] Give all cron tasks a name, change some manager usage (diff)
downloadphpbb-0a5348a1376fafb487884086a70069bea8c5640b.tar.gz
phpbb-0a5348a1376fafb487884086a70069bea8c5640b.tar.bz2
phpbb-0a5348a1376fafb487884086a70069bea8c5640b.zip
[feature/dic] Rename occurances of $container to $phpbb_container
PHPBB3-10739
Diffstat (limited to 'phpBB/cron.php')
-rw-r--r--phpBB/cron.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/phpBB/cron.php b/phpBB/cron.php
index be328db4de..95d2f8f9b6 100644
--- a/phpBB/cron.php
+++ b/phpBB/cron.php
@@ -61,7 +61,7 @@ function do_cron($cron_lock, $run_tasks)
if ($config['use_system_cron'])
{
- $cron = $container->get('cron.manager');
+ $cron = $phpbb_container->get('cron.manager');
}
else
{
@@ -71,7 +71,7 @@ else
output_image();
}
-$cron_lock = $container->get('cron.lock_db');
+$cron_lock = $phpbb_container->get('cron.lock_db');
if ($cron_lock->acquire())
{
if ($config['use_system_cron'])