summaryrefslogtreecommitdiffstats
path: root/core
diff options
context:
space:
mode:
authorRoeland Jago Douma <rullzer@users.noreply.github.com>2019-01-10 08:36:26 +0100
committerGitHub <noreply@github.com>2019-01-10 08:36:26 +0100
commitc46f309f094e9d2bd3cf3188a67b50ebfb8a204f (patch)
tree88e8b0b0b56d3c4d7c30cdc062d722479ec6df96 /core
parentaefa28ffdbe56606a8eb08ff8a5b6df8619378ef (diff)
parent65d4ebe8cc29e396bc161c501ba558ef6167d088 (diff)
downloadnextcloud-server-c46f309f094e9d2bd3cf3188a67b50ebfb8a204f.tar.gz
nextcloud-server-c46f309f094e9d2bd3cf3188a67b50ebfb8a204f.zip
Merge pull request #13467 from nextcloud/fix/noid/show-repair-steps-and-info-in-web
Show the repair steps and repair info output in the web for better feedback
Diffstat (limited to 'core')
-rw-r--r--core/ajax/update.php2
1 files changed, 2 insertions, 0 deletions
diff --git a/core/ajax/update.php b/core/ajax/update.php
index 7dead22b9dd..69f9b488720 100644
--- a/core/ajax/update.php
+++ b/core/ajax/update.php
@@ -87,8 +87,10 @@ class FeedBackHandler {
$this->eventSource->send('success', (string)$this->l10n->t('[%d / %d]: %s', [$this->progressStateStep, $this->progressStateMax, $this->currentStep]));
break;
case '\OC\Repair::step':
+ $this->eventSource->send('success', (string)$this->l10n->t('Repair step: ') . $event->getArgument(0));
break;
case '\OC\Repair::info':
+ $this->eventSource->send('success', (string)$this->l10n->t('Repair info: ') . $event->getArgument(0));
break;
case '\OC\Repair::warning':
$this->eventSource->send('notice', (string)$this->l10n->t('Repair warning: ') . $event->getArgument(0));