|
|
|
@ -72,8 +72,7 @@ class Upgrade extends Command { |
|
|
|
|
|
|
|
|
|
$updater->upgrade(); |
|
|
|
|
return self::ERROR_SUCCESS; |
|
|
|
|
} else { |
|
|
|
|
if(\OC_Config::getValue('maintenance', false)) { |
|
|
|
|
} else if(\OC_Config::getValue('maintenance', false)) { |
|
|
|
|
//Possible scenario: ownCloud core is updated but an app failed |
|
|
|
|
$output->writeln('ownCloud is in maintenance mode'); |
|
|
|
|
$output->write('Maybe an upgrade is already in process. Please check the ' |
|
|
|
@ -87,5 +86,4 @@ class Upgrade extends Command { |
|
|
|
|
return self::ERROR_UP_TO_DATE; |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|