Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Make occ upgrade verbose by default
This will always output timestamps and also mention each market app that
is being checked through the marketplace.
  • Loading branch information
Vincent Petry committed Aug 31, 2017
commit 7ea07f331d01ff5b56b395d3021504e90ea5da37
5 changes: 5 additions & 0 deletions core/Command/Upgrade.php
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,11 @@ protected function configure() {
* @param OutputInterface $output output interface
*/
protected function execute(InputInterface $input, OutputInterface $output) {
if ($output->getVerbosity() === OutputInterface::VERBOSITY_NORMAL
&& !$input->hasParameterOption('--verbose=0', true)) {
// set to more verbose on upgrade if no explicit verbosity was set
$output->setVerbosity(OutputInterface::VERBOSITY_VERBOSE);
}

if(\OC::checkUpgrade(false)) {
if (OutputInterface::VERBOSITY_NORMAL < $output->getVerbosity()) {
Expand Down