fix(updater): Make "maintenance mode kept active" more obvious

Signed-off-by: Joas Schilling <coding@schilljs.com>
This commit is contained in:
Joas Schilling 2026-04-09 09:10:21 +02:00 committed by backportbot[bot]
parent 3584ae70ef
commit e563cfee28
2 changed files with 2 additions and 2 deletions

View file

@ -140,7 +140,7 @@ class Upgrade extends Command {
$output->writeln('<info>Turned off maintenance mode</info>');
});
$updater->listen('\OC\Updater', 'maintenanceActive', function () use ($output): void {
$output->writeln('<info>Maintenance mode is kept active</info>');
$output->writeln('<comment>Maintenance mode is kept active</comment>');
});
$updater->listen('\OC\Updater', 'updateEnd',
function ($success) use ($output, $self): void {

View file

@ -82,7 +82,7 @@ if (Util::needUpgrade()) {
$eventSource->send('success', $l->t('Turned off maintenance mode'));
});
$updater->listen('\OC\Updater', 'maintenanceActive', function () use ($eventSource, $l): void {
$eventSource->send('success', $l->t('Maintenance mode is kept active'));
$eventSource->send('notice', $l->t('Maintenance mode is kept active'));
});
$updater->listen('\OC\Updater', 'dbUpgradeBefore', function () use ($eventSource, $l): void {
$eventSource->send('success', $l->t('Updating database schema'));