summaryrefslogtreecommitdiffstats
path: root/core/Command
diff options
context:
space:
mode:
authorMorris Jobke <hey@morrisjobke.de>2017-05-11 13:35:17 -0500
committerMorris Jobke <hey@morrisjobke.de>2017-05-11 13:35:17 -0500
commitcaa0ae94e8a26a05df8542d29164b610bf031eac (patch)
tree31b6d45430a590e6ebd96255ac8b28e42b333509 /core/Command
parent23b6f0e4d72f0a70eec9b4ba69ba9e5a0cb72731 (diff)
downloadnextcloud-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.php8
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>');