diff options
author | Morris Jobke <hey@morrisjobke.de> | 2017-05-11 13:35:17 -0500 |
---|---|---|
committer | Morris Jobke <hey@morrisjobke.de> | 2017-05-11 13:35:17 -0500 |
commit | caa0ae94e8a26a05df8542d29164b610bf031eac (patch) | |
tree | 31b6d45430a590e6ebd96255ac8b28e42b333509 /core/ajax | |
parent | 23b6f0e4d72f0a70eec9b4ba69ba9e5a0cb72731 (diff) | |
download | nextcloud-server-caa0ae94e8a26a05df8542d29164b610bf031eac.tar.gz nextcloud-server-caa0ae94e8a26a05df8542d29164b610bf031eac.zip |
Proper logging for appstore updates
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
Diffstat (limited to 'core/ajax')
-rw-r--r-- | core/ajax/update.php | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/core/ajax/update.php b/core/ajax/update.php index 37abdc5dc3b..d23e3b0d56d 100644 --- a/core/ajax/update.php +++ b/core/ajax/update.php @@ -160,6 +160,15 @@ if (OC::checkUpgrade(false)) { $updater->listen('\OC\Updater', 'appUpgradeCheckBefore', function () use ($eventSource, $l) { $eventSource->send('success', (string)$l->t('Checking updates of apps')); }); + $updater->listen('\OC\Updater', 'checkAppStoreAppBefore', function ($app) use ($eventSource, $l) { + $eventSource->send('success', (string)$l->t('Checking for update of app "%s" in appstore', [$app])); + }); + $updater->listen('\OC\Updater', 'upgradeAppStoreApp', function ($app) use ($eventSource, $l) { + $eventSource->send('success', (string)$l->t('Update app "%s" from appstore', [$app])); + }); + $updater->listen('\OC\Updater', 'checkAppStoreApp', function ($app) use ($eventSource, $l) { + $eventSource->send('success', (string)$l->t('Checked for update of app "%s" in appstore', [$app])); + }); $updater->listen('\OC\Updater', 'appSimulateUpdate', function ($app) use ($eventSource, $l) { $eventSource->send('success', (string)$l->t('Checking whether the database schema for %s can be updated (this can take a long time depending on the database size)', [$app])); }); |