Skip to content

Commit 34106b8

Browse files
Merge pull request #59523 from nextcloud/backport/59522/stable32
[stable32] fix(updater): Make "maintenance mode kept active" more obvious
2 parents 850efb2 + 2ec4796 commit 34106b8

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

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)