Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Show the repair steps and repair info output in the web for better fe…
…edback

Signed-off-by: Morris Jobke <[email protected]>
  • Loading branch information
MorrisJobke authored and Backportbot committed Jan 10, 2019
commit a26969617e028df696e8fa124f686409327b9e5f
2 changes: 2 additions & 0 deletions core/ajax/update.php
Original file line number Diff line number Diff line change
Expand Up @@ -87,8 +87,10 @@ public function handleRepairFeedback($event) {
$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));
Expand Down