[Pkg-owncloud-commits] [owncloud] 66/95: print app upgrade information to console as well

David Prévot taffit at moszumanska.debian.org
Wed Mar 11 15:49:50 UTC 2015


This is an automated email from the git hooks/post-receive script.

taffit pushed a commit to annotated tag v8.0.1
in repository owncloud.

commit e277a9b3ddfd64b154b91f2eeb79a1c1151ff5cb
Author: Thomas Müller <thomas.mueller at tmit.eu>
Date:   Tue Feb 24 12:52:16 2015 +0100

    print app upgrade information to console as well
---
 core/command/upgrade.php | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/core/command/upgrade.php b/core/command/upgrade.php
index 9f938cd..e540279 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>");

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-owncloud/owncloud.git



More information about the Pkg-owncloud-commits mailing list