diff --git a/core/Command/Upgrade.php b/core/Command/Upgrade.php index c3d6aacc71493..fbf7768ec74fa 100644 --- a/core/Command/Upgrade.php +++ b/core/Command/Upgrade.php @@ -140,7 +140,7 @@ protected function execute(InputInterface $input, OutputInterface $output): int $output->writeln('Turned off maintenance mode'); }); $updater->listen('\OC\Updater', 'maintenanceActive', function () use ($output): void { - $output->writeln('Maintenance mode is kept active'); + $output->writeln('Maintenance mode is kept active'); }); $updater->listen('\OC\Updater', 'updateEnd', function ($success) use ($output, $self): void { diff --git a/core/ajax/update.php b/core/ajax/update.php index 0a882929537d9..055323d19c1db 100644 --- a/core/ajax/update.php +++ b/core/ajax/update.php @@ -82,7 +82,7 @@ function (MigratorExecuteSqlEvent $event) use ($eventSource, $l): void { $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'));