diff options
author | Morris Jobke <hey@morrisjobke.de> | 2016-01-22 13:18:00 +0100 |
---|---|---|
committer | Morris Jobke <hey@morrisjobke.de> | 2016-01-22 13:18:00 +0100 |
commit | e7aab8f31f902854546940f5ac54e92908acdbf3 (patch) | |
tree | 3353c0821867504a8f5599bd11f2898177e3f49b | |
parent | 969581cc6850f3323066059bcdcda2dc21d8b019 (diff) | |
download | nextcloud-server-e7aab8f31f902854546940f5ac54e92908acdbf3.tar.gz nextcloud-server-e7aab8f31f902854546940f5ac54e92908acdbf3.zip |
Print output for integrity check during ./occ upgrade
-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 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) { |