diff options
author | Björn Schießle <bjoern@schiessle.org> | 2016-01-04 11:50:07 +0100 |
---|---|---|
committer | Björn Schießle <bjoern@schiessle.org> | 2016-01-04 11:50:07 +0100 |
commit | 58b1221ad3181fbe2d6fa8d49f713355c32dddd5 (patch) | |
tree | 17761dddbb85b621b26a0bf3cb8c832f642af507 | |
parent | 157bb50a398be8a3e8ecc235068cae75e60495a6 (diff) | |
download | nextcloud-server-58b1221ad3181fbe2d6fa8d49f713355c32dddd5.tar.gz nextcloud-server-58b1221ad3181fbe2d6fa8d49f713355c32dddd5.zip |
don't show previous log level in upgrade message
-rw-r--r-- | core/ajax/update.php | 4 | ||||
-rw-r--r-- | core/command/upgrade.php | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/core/ajax/update.php b/core/ajax/update.php index a5c1f79e3ea..879f66e1024 100644 --- a/core/ajax/update.php +++ b/core/ajax/update.php @@ -104,10 +104,10 @@ if (OC::checkUpgrade(false)) { $config->setSystemValue('maintenance', false); }); $updater->listen('\OC\Updater', 'setDebugLogLevel', function ($logLevel, $logLevelName) use($eventSource, $l) { - $eventSource->send('success', (string)$l->t('Set log level to debug - current level: "%s"', [ $logLevelName ])); + $eventSource->send('success', (string)$l->t('Set log level to debug')); }); $updater->listen('\OC\Updater', 'resetLogLevel', function ($logLevel, $logLevelName) use($eventSource, $l) { - $eventSource->send('success', (string)$l->t('Reset log level to "%s"', [ $logLevelName ])); + $eventSource->send('success', (string)$l->t('Reset log level')); }); $updater->listen('\OC\Updater', 'startCheckCodeIntegrity', function () use($eventSource, $l) { $eventSource->send('success', (string)$l->t('Starting code integrity check')); diff --git a/core/command/upgrade.php b/core/command/upgrade.php index 9031e284f85..7675c168f35 100644 --- a/core/command/upgrade.php +++ b/core/command/upgrade.php @@ -199,10 +199,10 @@ class Upgrade extends Command { $output->writeln("<error>$message</error>"); }); $updater->listen('\OC\Updater', 'setDebugLogLevel', function ($logLevel, $logLevelName) use($output) { - $output->writeln("<info>Set log level to debug - current level: '$logLevelName'</info>"); + $output->writeln("<info>Set log level to debug</info>"); }); $updater->listen('\OC\Updater', 'resetLogLevel', function ($logLevel, $logLevelName) use($output) { - $output->writeln("<info>Reset log level to '$logLevelName'</info>"); + $output->writeln("<info>Reset log level</info>"); }); if(OutputInterface::VERBOSITY_NORMAL < $output->getVerbosity()) { |