Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/server.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/core
diff options
context:
space:
mode:
authorThomas Müller <thomas.mueller@tmit.eu>2015-02-24 14:52:16 +0300
committerThomas Müller <thomas.mueller@tmit.eu>2015-02-26 01:07:48 +0300
commite277a9b3ddfd64b154b91f2eeb79a1c1151ff5cb (patch)
treee81b778b154cd70d9c3dc492c429d8c46481aa0f /core
parent5c7157e0af7644037f697dbb61d1533440a7e5e6 (diff)
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 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>");