aboutsummaryrefslogtreecommitdiffstats
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
parent3896ee953fbdb45d0485c0b5dcdfca47409a22ed (diff)
downloadforums-0a5348a1376fafb487884086a70069bea8c5640b.tar
forums-0a5348a1376fafb487884086a70069bea8c5640b.tar.gz
forums-0a5348a1376fafb487884086a70069bea8c5640b.tar.bz2
forums-0a5348a1376fafb487884086a70069bea8c5640b.tar.xz
forums-0a5348a1376fafb487884086a70069bea8c5640b.zip
[feature/dic] Rename occurances of $container to $phpbb_container
PHPBB3-10739
-rw-r--r--phpBB/cron.php4
-rw-r--r--phpBB/viewforum.php2
2 files changed, 3 insertions, 3 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'])
diff --git a/phpBB/viewforum.php b/phpBB/viewforum.php
index 25c8f5aa6d..76d5c8ccff 100644
--- a/phpBB/viewforum.php
+++ b/phpBB/viewforum.php
@@ -193,7 +193,7 @@ if ($forum_data['forum_topics_per_page'])
// Do the forum Prune thang - cron type job ...
if (!$config['use_system_cron'])
{
- $cron = $container->get('cron.manager');
+ $cron = $phpbb_container->get('cron.manager');
$task = $cron->find_task('cron.task.core.prune_forum');
$task->set_forum_data($forum_data);