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