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/Command | |
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/Command')
-rw-r--r-- | core/Command/Upgrade.php | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/core/Command/Upgrade.php b/core/Command/Upgrade.php index 2e518f52e21..abc37527d2a 100644 --- a/core/Command/Upgrade.php +++ b/core/Command/Upgrade.php @@ -220,8 +220,14 @@ class Upgrade extends Command { $updater->listen('\OC\Updater', 'thirdPartyAppDisabled', function ($app) use ($output) { $output->writeln('<comment>Disabled 3rd-party app: ' . $app . '</comment>'); }); + $updater->listen('\OC\Updater', 'checkAppStoreAppBefore', function ($app) use($output) { + $output->writeln('<info>Checking for update of app ' . $app . ' in appstore</info>'); + }); $updater->listen('\OC\Updater', 'upgradeAppStoreApp', function ($app) use($output) { - $output->writeln('<info>Update 3rd-party app: ' . $app . '</info>'); + $output->writeln('<info>Update app ' . $app . ' from appstore</info>'); + }); + $updater->listen('\OC\Updater', 'checkAppStoreApp', function ($app) use($output) { + $output->writeln('<info>Checked for update of app "' . $app . '" in appstore </info>'); }); $updater->listen('\OC\Updater', 'appUpgradeCheckBefore', function () use ($output) { $output->writeln('<info>Checking updates of apps</info>'); |