summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorcoderkun <olli@coderkun.de>2017-06-03 13:32:57 +0200
committerBernhard Posselt <BernhardPosselt@users.noreply.github.com>2017-06-03 13:32:57 +0200
commit68e3fa0172eabb5c1d73cff365ac56e4403e9546 (patch)
tree0a787193e459d21574c342406f29862619f54149
parentff16cd09085c39871f83005ab7afdb3456dc74a8 (diff)
Call cron beforeUpdate() before update() (#172) (#174)
-rw-r--r--lib/Cron/Updater.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Cron/Updater.php b/lib/Cron/Updater.php
index 6d8fea832..b26b11b45 100644
--- a/lib/Cron/Updater.php
+++ b/lib/Cron/Updater.php
@@ -42,8 +42,8 @@ class Updater extends Job {
protected function run($argument) {
if ($this->config->getUseCronUpdates() &&
$this->status->isProperlyConfigured()) {
- $this->updaterService->update();
$this->updaterService->beforeUpdate();
+ $this->updaterService->update();
$this->updaterService->afterUpdate();
}
}