File tree Expand file tree Collapse file tree 1 file changed +3
-7
lines changed
Expand file tree Collapse file tree 1 file changed +3
-7
lines changed Original file line number Diff line number Diff line change @@ -178,17 +178,13 @@ public function loadCommands(
178178 * for writing outputs.
179179 * @return void
180180 */
181- private function writeMaintenanceModeInfo (
182- InputInterface $ input , ConsoleOutputInterface $ output
183- ) {
181+ private function writeMaintenanceModeInfo (InputInterface $ input , ConsoleOutputInterface $ output ): void {
184182 if ($ input ->getArgument ('command ' ) !== '_completion '
185183 && $ input ->getArgument ('command ' ) !== 'maintenance:mode '
186184 && $ input ->getArgument ('command ' ) !== 'status ' ) {
187185 $ errOutput = $ output ->getErrorOutput ();
188- $ errOutput ->writeln (
189- '<comment>Nextcloud is in maintenance mode, hence the database isn \'t accessible. ' . PHP_EOL .
190- 'Cannot perform any command except \'maintenance:mode --off \'</comment> ' . PHP_EOL
191- );
186+ $ errOutput ->writeln ('<comment>Nextcloud is in maintenance mode, no apps are loaded.</comment> ' );
187+ $ errOutput ->writeln ('<comment>Commands provided by apps are unavailable.</comment> ' );
192188 }
193189 }
194190
You can’t perform that action at this time.
0 commit comments