mirror of
https://github.com/nextcloud/server.git
synced 2026-06-11 01:30:50 -04:00
Merge pull request #59522 from nextcloud/bugfix/noid/make-maintenance-mode-more-obvious
fix(updater): Make "maintenance mode kept active" more obvious
This commit is contained in:
commit
9ff0adf239
2 changed files with 2 additions and 2 deletions
|
|
@ -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 {
|
||||
|
|
|
|||
|
|
@ -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'));
|
||||
|
|
|
|||
Loading…
Reference in a new issue