summaryrefslogtreecommitdiffstats
path: root/backgroundjob/task.php
diff options
context:
space:
mode:
Diffstat (limited to 'backgroundjob/task.php')
-rw-r--r--backgroundjob/task.php8
1 files changed, 4 insertions, 4 deletions
diff --git a/backgroundjob/task.php b/backgroundjob/task.php
index 1c602cce0..1f4ebc1e0 100644
--- a/backgroundjob/task.php
+++ b/backgroundjob/task.php
@@ -38,10 +38,10 @@ class Task {
// make it possible to turn off cron updates if you use an external
// script to execute updates in paralell
- if ($container['Config']->getUseCronUpdates()) {
- $container['Updater']->beforeUpdate();
- $container['Updater']->update();
- $container['Updater']->afterUpdate();
+ if ($container->query('Config')->getUseCronUpdates()) {
+ $container->query('Updater')->beforeUpdate();
+ $container->query('Updater')->update();
+ $container->query('Updater')->afterUpdate();
}
}