diff options
author | Thomas Müller <thomas.mueller@tmit.eu> | 2016-04-27 10:51:02 +0200 |
---|---|---|
committer | Thomas Müller <thomas.mueller@tmit.eu> | 2016-04-28 13:52:01 +0200 |
commit | bbd2a07525db6b70645720f4c022b5562543127e (patch) | |
tree | ce97cb458ce1e7098bee4a49de707d07e76cab47 /lib/private/repair.php | |
parent | cdcd49b473dc7bad4ffb500977b2b8ea5d6f676e (diff) | |
download | nextcloud-server-bbd2a07525db6b70645720f4c022b5562543127e.tar.gz nextcloud-server-bbd2a07525db6b70645720f4c022b5562543127e.zip |
Remove emitter from class Repair
Diffstat (limited to 'lib/private/repair.php')
-rw-r--r-- | lib/private/repair.php | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/private/repair.php b/lib/private/repair.php index 586e4e42b13..c6887ab5ce6 100644 --- a/lib/private/repair.php +++ b/lib/private/repair.php @@ -28,7 +28,6 @@ namespace OC; -use OC\Hooks\BasicEmitter; use OC\Hooks\Emitter; use OC\Repair\AssetCache; use OC\Repair\CleanTags; @@ -51,7 +50,7 @@ use OCP\Migration\IRepairStep; use Symfony\Component\EventDispatcher\EventDispatcher; use Symfony\Component\EventDispatcher\GenericEvent; -class Repair extends BasicEmitter implements IOutput{ +class Repair implements IOutput{ /* @var IRepairStep[] */ private $repairSteps; /** @var EventDispatcher */ @@ -178,10 +177,11 @@ class Repair extends BasicEmitter implements IOutput{ } /** - * {@inheritDoc} + * @param string $scope + * @param string $method + * @param array $arguments */ public function emit($scope, $method, array $arguments = []) { - parent::emit($scope, $method, $arguments); if (!is_null($this->dispatcher)) { $this->dispatcher->dispatch("$scope::$method", new GenericEvent("$scope::$method", $arguments)); |