mirror of
https://github.com/nextcloud/server.git
synced 2026-04-15 22:11:17 -04:00
fix(updater): Make "maintenance mode kept active" more obvious
Signed-off-by: Joas Schilling <coding@schilljs.com>
This commit is contained in:
parent
3584ae70ef
commit
e563cfee28
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