Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/server.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/core/ajax
diff options
context:
space:
mode:
authorBjörn Schießle <bjoern@schiessle.org>2016-01-04 13:50:07 +0300
committerBjörn Schießle <bjoern@schiessle.org>2016-01-04 13:50:07 +0300
commit58b1221ad3181fbe2d6fa8d49f713355c32dddd5 (patch)
tree17761dddbb85b621b26a0bf3cb8c832f642af507 /core/ajax
parent157bb50a398be8a3e8ecc235068cae75e60495a6 (diff)
don't show previous log level in upgrade message
Diffstat (limited to 'core/ajax')
-rw-r--r--core/ajax/update.php4
1 files changed, 2 insertions, 2 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'));