diff options
author | Morris Jobke <hey@morrisjobke.de> | 2015-06-23 11:43:45 +0300 |
---|---|---|
committer | Morris Jobke <hey@morrisjobke.de> | 2015-06-23 14:13:44 +0300 |
commit | 1ba9fd3ada07c42b1151de64004702acf22382d1 (patch) | |
tree | 162a1b96265dc9b4fddc16c93d07328db0d83a12 /lib/private/updater.php | |
parent | 2654696086988c11c57cc9d72579ce3912aa08c6 (diff) |
[upgrade] print update message before running the update code
* otherwise you don't know during which app update something failed
Diffstat (limited to 'lib/private/updater.php')
-rw-r--r-- | lib/private/updater.php | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/private/updater.php b/lib/private/updater.php index 7f1a493d2a0..bd9e8a65363 100644 --- a/lib/private/updater.php +++ b/lib/private/updater.php @@ -386,6 +386,7 @@ class Updater extends BasicEmitter { foreach ($stacks as $type => $stack) { foreach ($stack as $appId) { if (\OC_App::shouldUpgrade($appId)) { + $this->emit('\OC\Updater', 'appUpgradeStarted', array($appId, \OC_App::getAppVersion($appId))); \OC_App::updateApp($appId); $this->emit('\OC\Updater', 'appUpgrade', array($appId, \OC_App::getAppVersion($appId))); } |