summaryrefslogtreecommitdiffstats
path: root/core/command
diff options
context:
space:
mode:
authorThomas Müller <thomas.mueller@tmit.eu>2016-01-22 14:59:29 +0100
committerThomas Müller <thomas.mueller@tmit.eu>2016-01-22 14:59:29 +0100
commit2d569d92eb081b0272872307ac36368e07370d9c (patch)
treea8934c7ba7c2b3a1dc7a02bfac4242aad760dd86 /core/command
parent9b4c9a0357ba9a10f4e0c7c1cafb3923ba5929db (diff)
parente7aab8f31f902854546940f5ac54e92908acdbf3 (diff)
downloadnextcloud-server-2d569d92eb081b0272872307ac36368e07370d9c.tar.gz
nextcloud-server-2d569d92eb081b0272872307ac36368e07370d9c.zip
Merge pull request #21850 from owncloud/more-output-for-integrity-check
Print output for integrity check during ./occ upgrade
Diffstat (limited to 'core/command')
-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 a16069c0a6b..c45984d7a30 100644
--- a/core/command/upgrade.php
+++ b/core/command/upgrade.php
@@ -206,6 +206,12 @@ class Upgrade extends Command {
$updater->listen('\OC\Updater', 'resetLogLevel', function ($logLevel, $logLevelName) use($output) {
$output->writeln("<info>Reset log level</info>");
});
+ $updater->listen('\OC\Updater', 'startCheckCodeIntegrity', function () use($output) {
+ $output->writeln("<info>Starting code integrity check...</info>");
+ });
+ $updater->listen('\OC\Updater', 'finishedCheckCodeIntegrity', function () use($output) {
+ $output->writeln("<info>Finished code integrity check</info>");
+ });
if(OutputInterface::VERBOSITY_NORMAL < $output->getVerbosity()) {
$updater->listen('\OC\Updater', 'repairInfo', function ($message) use($output) {