diff options
author | Daniel Kesselberg <mail@danielkesselberg.de> | 2023-04-25 18:43:55 +0200 |
---|---|---|
committer | backportbot-nextcloud[bot] <backportbot-nextcloud[bot]@users.noreply.github.com> | 2023-05-01 17:43:35 +0000 |
commit | 6a04405167cd4c7db789f92826844564457f7d02 (patch) | |
tree | e93e8e803d1f19d62598601342f5a31ebed105ae | |
parent | 77f1cc658a87094a0450988e1c1ab4a3e4f76976 (diff) | |
download | nextcloud-server-6a04405167cd4c7db789f92826844564457f7d02.tar.gz nextcloud-server-6a04405167cd4c7db789f92826844564457f7d02.zip |
fix: change maintenance mode info wording
In maintenance mode the database is accessible and it's possible to execute other commands then maintenance:mode
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
-rw-r--r-- | lib/private/Console/Application.php | 10 |
1 files changed, 3 insertions, 7 deletions
diff --git a/lib/private/Console/Application.php b/lib/private/Console/Application.php index 07e9dbb317b..792fde727a1 100644 --- a/lib/private/Console/Application.php +++ b/lib/private/Console/Application.php @@ -178,17 +178,13 @@ class Application { * for writing outputs. * @return void */ - private function writeMaintenanceModeInfo( - InputInterface $input, ConsoleOutputInterface $output - ) { + private function writeMaintenanceModeInfo(InputInterface $input, ConsoleOutputInterface $output): void { if ($input->getArgument('command') !== '_completion' && $input->getArgument('command') !== 'maintenance:mode' && $input->getArgument('command') !== 'status') { $errOutput = $output->getErrorOutput(); - $errOutput->writeln( - '<comment>Nextcloud is in maintenance mode, hence the database isn\'t accessible.' . PHP_EOL . - 'Cannot perform any command except \'maintenance:mode --off\'</comment>' . PHP_EOL - ); + $errOutput->writeln('<comment>Nextcloud is in maintenance mode, no apps are loaded.</comment>'); + $errOutput->writeln('<comment>Commands provided by apps are unavailable.</comment>'); } } |