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
This commit is contained in:
commit
c46f309f09
|
@ -87,8 +87,10 @@ class FeedBackHandler {
|
||||||
$this->eventSource->send('success', (string)$this->l10n->t('[%d / %d]: %s', [$this->progressStateStep, $this->progressStateMax, $this->currentStep]));
|
$this->eventSource->send('success', (string)$this->l10n->t('[%d / %d]: %s', [$this->progressStateStep, $this->progressStateMax, $this->currentStep]));
|
||||||
break;
|
break;
|
||||||
case '\OC\Repair::step':
|
case '\OC\Repair::step':
|
||||||
|
$this->eventSource->send('success', (string)$this->l10n->t('Repair step: ') . $event->getArgument(0));
|
||||||
break;
|
break;
|
||||||
case '\OC\Repair::info':
|
case '\OC\Repair::info':
|
||||||
|
$this->eventSource->send('success', (string)$this->l10n->t('Repair info: ') . $event->getArgument(0));
|
||||||
break;
|
break;
|
||||||
case '\OC\Repair::warning':
|
case '\OC\Repair::warning':
|
||||||
$this->eventSource->send('notice', (string)$this->l10n->t('Repair warning: ') . $event->getArgument(0));
|
$this->eventSource->send('notice', (string)$this->l10n->t('Repair warning: ') . $event->getArgument(0));
|
||||||
|
|
Loading…
Reference in New Issue