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:38:17 +0000
commitd3d36944321449d497c9a857d6ffef04ec3542b5 (patch)
tree07a9ed558b9fa24adb0238713711bbff1373bf1b /core/ajax
parent8a8cc531cbe7efd2f238d2778b3fe07c0b88ffb1 (diff)
downloadnextcloud-server-d3d36944321449d497c9a857d6ffef04ec3542b5.tar.gz
nextcloud-server-d3d36944321449d497c9a857d6ffef04ec3542b5.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 2a29d1e536c..a9aa5649780 100644
--- a/core/ajax/update.php
+++ b/core/ajax/update.php
@@ -85,8 +85,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));