Merge pull request #21850 from owncloud/more-output-for-integrity-check

Print output for integrity check during ./occ upgrade
This commit is contained in:
Thomas Müller 2016-01-22 14:59:29 +01:00
commit 2d569d92eb

View file

@ -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) {