diff options
author | Thomas Müller <thomas.mueller@tmit.eu> | 2014-06-26 17:20:09 +0200 |
---|---|---|
committer | Thomas Müller <thomas.mueller@tmit.eu> | 2014-06-26 17:20:09 +0200 |
commit | 7804bd010c4960719fdb4184289b0a074b54cc7a (patch) | |
tree | 7547879c5349cab9d72e87b25c59287ada8bd737 /lib/private | |
parent | 3d2fd7cd1abdad407008ac08c92d706f23b6f6ed (diff) | |
parent | 4c80c9595ff8897171bb061c0d6749257e73f802 (diff) | |
download | nextcloud-server-7804bd010c4960719fdb4184289b0a074b54cc7a.tar.gz nextcloud-server-7804bd010c4960719fdb4184289b0a074b54cc7a.zip |
Merge pull request #9230 from owncloud/fix-repair-step-php-53
Redeclared as public to allow invocation from within the closure in php ...
Diffstat (limited to 'lib/private')
-rw-r--r-- | lib/private/repair.php | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/lib/private/repair.php b/lib/private/repair.php index 23d1c2b831e..db2a04433b0 100644 --- a/lib/private/repair.php +++ b/lib/private/repair.php @@ -13,7 +13,7 @@ use OC\Hooks\Emitter; class Repair extends BasicEmitter { /** - * @var array + * @var RepairStep[] **/ private $repairSteps; @@ -80,4 +80,13 @@ class Repair extends BasicEmitter { public static function getBeforeUpgradeRepairSteps() { return array(); } + + /** + * {@inheritDoc} + * + * Redeclared as public to allow invocation from within the closure above in php 5.3 + */ + public function emit($scope, $method, $arguments = array()) { + parent::emit($scope, $method, $arguments); + } } |