diff options
author | Bernhard Posselt <dev@bernhard-posselt.com> | 2014-12-17 19:20:21 +0100 |
---|---|---|
committer | Bernhard Posselt <dev@bernhard-posselt.com> | 2015-01-18 14:06:07 +0100 |
commit | 73759298658da929fe2da06d0446a93a56859067 (patch) | |
tree | 99972490a099d31c70a0f856d681f71e194103a3 /cron | |
parent | f741d1fd502687aafede499ab55c0803ad469df3 (diff) |
first stab at intelligent container
Diffstat (limited to 'cron')
-rw-r--r-- | cron/updater.php | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/cron/updater.php b/cron/updater.php index b04472334..7aeb0cc08 100644 --- a/cron/updater.php +++ b/cron/updater.php @@ -27,10 +27,10 @@ class Updater { // make it possible to turn off cron updates if you use an external // script to execute updates in parallel - if ($container->query('Config')->getUseCronUpdates()) { - $container->query('Updater')->beforeUpdate(); - $container->query('Updater')->update(); - $container->query('Updater')->afterUpdate(); + if ($container->query('OCA\News\Config\Config')->getUseCronUpdates()) { + $container->query('OCA\News\Utility\Updater')->beforeUpdate(); + $container->query('OCA\News\Utility\Updater')->update(); + $container->query('OCA\News\Utility\Updater')->afterUpdate(); } } |