diff options
author | Thomas Müller <thomas.mueller@tmit.eu> | 2015-02-24 12:52:16 +0100 |
---|---|---|
committer | Thomas Müller <thomas.mueller@tmit.eu> | 2015-02-25 23:07:48 +0100 |
commit | e277a9b3ddfd64b154b91f2eeb79a1c1151ff5cb (patch) | |
tree | e81b778b154cd70d9c3dc492c429d8c46481aa0f /core | |
parent | 5c7157e0af7644037f697dbb61d1533440a7e5e6 (diff) | |
download | nextcloud-server-e277a9b3ddfd64b154b91f2eeb79a1c1151ff5cb.tar.gz nextcloud-server-e277a9b3ddfd64b154b91f2eeb79a1c1151ff5cb.zip |
print app upgrade information to console as well
Diffstat (limited to 'core')
-rw-r--r-- | core/command/upgrade.php | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/core/command/upgrade.php b/core/command/upgrade.php index 9f938cdf6d1..e5402796136 100644 --- a/core/command/upgrade.php +++ b/core/command/upgrade.php @@ -113,6 +113,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>"); |