Merge pull request #9230 from owncloud/fix-repair-step-php-53
Redeclared as public to allow invocation from within the closure in php ...
This commit is contained in:
commit
7804bd010c
1 changed files with 10 additions and 1 deletions
|
@ -13,7 +13,7 @@ use OC\Hooks\Emitter;
|
||||||
|
|
||||||
class Repair extends BasicEmitter {
|
class Repair extends BasicEmitter {
|
||||||
/**
|
/**
|
||||||
* @var array
|
* @var RepairStep[]
|
||||||
**/
|
**/
|
||||||
private $repairSteps;
|
private $repairSteps;
|
||||||
|
|
||||||
|
@ -80,4 +80,13 @@ class Repair extends BasicEmitter {
|
||||||
public static function getBeforeUpgradeRepairSteps() {
|
public static function getBeforeUpgradeRepairSteps() {
|
||||||
return array();
|
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);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue