From 68e3fa0172eabb5c1d73cff365ac56e4403e9546 Mon Sep 17 00:00:00 2001 From: coderkun Date: Sat, 3 Jun 2017 13:32:57 +0200 Subject: Call cron beforeUpdate() before update() (#172) (#174) --- lib/Cron/Updater.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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(); } } -- cgit v1.2.3