diff options
author | Thomas Müller <thomas.mueller@tmit.eu> | 2016-04-22 15:35:39 +0200 |
---|---|---|
committer | Thomas Müller <thomas.mueller@tmit.eu> | 2016-04-25 15:01:13 +0200 |
commit | c7542c02dbc997d818e984dae23bdf1780843559 (patch) | |
tree | eaa5e6b7230b531a4e5f494544be41449a0100f5 /lib/private/Repair/UpdateCertificateStore.php | |
parent | a4b1d9feee79218268abcb0c20ed16bec82c993c (diff) | |
download | nextcloud-server-c7542c02dbc997d818e984dae23bdf1780843559.tar.gz nextcloud-server-c7542c02dbc997d818e984dae23bdf1780843559.zip |
Introduce OCP\Migration\IRepairStep and adopt all repair steps to this new interface - refs #24198
Diffstat (limited to 'lib/private/Repair/UpdateCertificateStore.php')
-rw-r--r-- | lib/private/Repair/UpdateCertificateStore.php | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/private/Repair/UpdateCertificateStore.php b/lib/private/Repair/UpdateCertificateStore.php index ae7585f07f6..9397fc77bce 100644 --- a/lib/private/Repair/UpdateCertificateStore.php +++ b/lib/private/Repair/UpdateCertificateStore.php @@ -22,10 +22,10 @@ namespace OC\Repair; use OC\Files\View; -use OC\Hooks\BasicEmitter; -use OC\RepairStep; use OC\Server; use OCP\IConfig; +use OCP\Migration\IOutput; +use OCP\Migration\IRepairStep; /** * Class UpdateCertificateStore rewrites the user specific certificate store after @@ -34,7 +34,7 @@ use OCP\IConfig; * * @package OC\Repair */ -class UpdateCertificateStore extends BasicEmitter implements RepairStep { +class UpdateCertificateStore implements IRepairStep { /** * FIXME: The certificate manager does only allow specifying the user * within the constructor. This makes DI impossible. @@ -60,7 +60,7 @@ class UpdateCertificateStore extends BasicEmitter implements RepairStep { } /** {@inheritDoc} */ - public function run() { + public function run(IOutput $out) { $rootView = new View(); $dataDirectory = $this->config->getSystemValue('datadirectory', null); if(is_null($dataDirectory)) { |