aboutsummaryrefslogtreecommitdiffstats
path: root/core
diff options
context:
space:
mode:
authorThomas Müller <thomas.mueller@tmit.eu>2015-02-24 12:52:16 +0100
committerThomas Müller <thomas.mueller@tmit.eu>2015-02-24 12:52:16 +0100
commit58cedc07b597c3d31b5c757d5a121806c9f07c6e (patch)
tree3ea5f4d26cfe9223da474ef859e9d4d63ec6c2e7 /core
parent80cafe29a8e3a9624887632bc2b24f33c6b03ef8 (diff)
downloadnextcloud-server-58cedc07b597c3d31b5c757d5a121806c9f07c6e.tar.gz
nextcloud-server-58cedc07b597c3d31b5c757d5a121806c9f07c6e.zip
print app upgrade information to console as well
Diffstat (limited to 'core')
-rw-r--r--core/command/upgrade.php6
1 files changed, 6 insertions, 0 deletions
diff --git a/core/command/upgrade.php b/core/command/upgrade.php
index 8899bd50ba7..87e83afde29 100644
--- a/core/command/upgrade.php
+++ b/core/command/upgrade.php
@@ -129,6 +129,12 @@ class Upgrade extends Command {
$updater->listen('\OC\Updater', 'thirdPartyAppDisabled', function ($app) use($output) {
$output->writeln('<info>Disabled 3rd-party app: ' . $app . '</info>');
});
+ $updater->listen('\OC\Updater', 'appUpgradeCheck', function () use ($output) {
+ $output->writeln('<info>Checked database schema update for apps</info>');
+ });
+ $updater->listen('\OC\Updater', 'appUpgrade', function ($app, $version) use ($output) {
+ $output->writeln("<info>Updated <$app> to $version</info>");
+ });
$updater->listen('\OC\Updater', 'failure', function ($message) use($output, $self) {
$output->writeln("<error>$message</error>");