diff options
author | Morris Jobke <hey@morrisjobke.de> | 2019-01-09 23:10:52 +0100 |
---|---|---|
committer | Morris Jobke <hey@morrisjobke.de> | 2019-01-09 23:10:52 +0100 |
commit | 65d4ebe8cc29e396bc161c501ba558ef6167d088 (patch) | |
tree | b7a406bbf4633e960131a17370199c02db399784 /core/ajax/update.php | |
parent | 1fd6741182f3f39458612fbf9b3e381eb7d2f62f (diff) | |
download | nextcloud-server-65d4ebe8cc29e396bc161c501ba558ef6167d088.tar.gz nextcloud-server-65d4ebe8cc29e396bc161c501ba558ef6167d088.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/update.php')
-rw-r--r-- | core/ajax/update.php | 2 |
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)); |