aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB
diff options
context:
space:
mode:
Diffstat (limited to 'phpBB')
-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);