diff options
author | Bernhard Posselt <dev@bernhard-posselt.com> | 2014-04-09 18:50:01 +0200 |
---|---|---|
committer | Bernhard Posselt <dev@bernhard-posselt.com> | 2014-04-09 22:52:28 +0200 |
commit | d3379573fde9ec2a714a3bfdda2662340212a587 (patch) | |
tree | aa38c76bebba4f054524126af89e562bd950e504 /backgroundjob | |
parent | 1b21cab240ed8b2e37171d8d8ea598a4c42547c5 (diff) |
use query instead of array access
Diffstat (limited to 'backgroundjob')
-rw-r--r-- | backgroundjob/task.php | 8 |
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(); } } |