From e7aab8f31f902854546940f5ac54e92908acdbf3 Mon Sep 17 00:00:00 2001 From: Morris Jobke Date: Fri, 22 Jan 2016 13:18:00 +0100 Subject: [PATCH] Print output for integrity check during ./occ upgrade --- core/command/upgrade.php | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/core/command/upgrade.php b/core/command/upgrade.php index a16069c0a6..c45984d7a3 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("Reset log level"); }); + $updater->listen('\OC\Updater', 'startCheckCodeIntegrity', function () use($output) { + $output->writeln("Starting code integrity check..."); + }); + $updater->listen('\OC\Updater', 'finishedCheckCodeIntegrity', function () use($output) { + $output->writeln("Finished code integrity check"); + }); if(OutputInterface::VERBOSITY_NORMAL < $output->getVerbosity()) { $updater->listen('\OC\Updater', 'repairInfo', function ($message) use($output) {