summaryrefslogtreecommitdiffstats
path: root/lib/private/updater.php
diff options
context:
space:
mode:
authorMorris Jobke <hey@morrisjobke.de>2015-06-23 10:22:24 +0200
committerMorris Jobke <hey@morrisjobke.de>2015-06-24 10:25:05 +0200
commit5ff536b45ad6f9c4490a9d949353c6aeea26d7f1 (patch)
tree0d78e539d4abfd534cb23773fea76a9328c43c47 /lib/private/updater.php
parentceb80ac123b26b033aac3f724da44a6f78c539ec (diff)
downloadnextcloud-server-5ff536b45ad6f9c4490a9d949353c6aeea26d7f1.tar.gz
nextcloud-server-5ff536b45ad6f9c4490a9d949353c6aeea26d7f1.zip
[upgrade] add verbosity check and show repair info & steps
Diffstat (limited to 'lib/private/updater.php')
-rw-r--r--lib/private/updater.php6
1 files changed, 6 insertions, 0 deletions
diff --git a/lib/private/updater.php b/lib/private/updater.php
index 00c6569a52f..b011cf147e3 100644
--- a/lib/private/updater.php
+++ b/lib/private/updater.php
@@ -238,6 +238,12 @@ class Updater extends BasicEmitter {
$repair->listen('\OC\Repair', 'error', function ($description) {
$this->emit('\OC\Updater', 'repairError', array($description));
});
+ $repair->listen('\OC\Repair', 'info', function ($description) {
+ $this->emit('\OC\Updater', 'repairInfo', array($description));
+ });
+ $repair->listen('\OC\Repair', 'step', function ($description) {
+ $this->emit('\OC\Updater', 'repairStep', array($description));
+ });
}
/**