summaryrefslogtreecommitdiffstats
path: root/core/ajax
diff options
context:
space:
mode:
authorMorris Jobke <hey@morrisjobke.de>2019-01-09 23:10:52 +0100
committerBackportbot <backportbot-noreply@rullzer.com>2019-01-10 07:37:04 +0000
commit625ffdb6c61f802fc0c3edf955d89f4b3a5b7bd8 (patch)
tree1f7d7b6863e3d0dce38d61c1103eef293d65c5a5 /core/ajax
parent941a99c58622681a102c2025ae52301ec995530a (diff)
downloadnextcloud-server-625ffdb6c61f802fc0c3edf955d89f4b3a5b7bd8.tar.gz
nextcloud-server-625ffdb6c61f802fc0c3edf955d89f4b3a5b7bd8.zip
Show the repair steps and repair info output in the web for better feedback
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
Diffstat (limited to 'core/ajax')
-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));