Skip to content

Commit d6ee1ea

Browse files
committed
fix(updater): Make "maintenance mode kept active" more obvious
Signed-off-by: Joas Schilling <coding@schilljs.com>
1 parent 5b7ea4e commit d6ee1ea

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

core/Command/Upgrade.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -140,7 +140,7 @@ protected function execute(InputInterface $input, OutputInterface $output): int
140140
$output->writeln('<info>Turned off maintenance mode</info>');
141141
});
142142
$updater->listen('\OC\Updater', 'maintenanceActive', function () use ($output): void {
143-
$output->writeln('<info>Maintenance mode is kept active</info>');
143+
$output->writeln('<comment>Maintenance mode is kept active</comment>');
144144
});
145145
$updater->listen('\OC\Updater', 'updateEnd',
146146
function ($success) use ($output, $self): void {

core/ajax/update.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ function (MigratorExecuteSqlEvent $event) use ($eventSource, $l): void {
8282
$eventSource->send('success', $l->t('Turned off maintenance mode'));
8383
});
8484
$updater->listen('\OC\Updater', 'maintenanceActive', function () use ($eventSource, $l): void {
85-
$eventSource->send('success', $l->t('Maintenance mode is kept active'));
85+
$eventSource->send('notice', $l->t('Maintenance mode is kept active'));
8686
});
8787
$updater->listen('\OC\Updater', 'dbUpgradeBefore', function () use ($eventSource, $l): void {
8888
$eventSource->send('success', $l->t('Updating database schema'));

0 commit comments

Comments
 (0)