1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-08-05 00:07:44 +02:00

[feature/dic] Rename occurances of $container to $phpbb_container

PHPBB3-10739
This commit is contained in:
Igor Wiedler
2012-04-09 14:37:04 +02:00
parent 3896ee953f
commit 0a5348a137
2 changed files with 3 additions and 3 deletions

View File

@@ -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'])

View File

@@ -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);