diff options
author | Robin Appelman <robin@icewind.nl> | 2017-06-29 14:45:08 +0200 |
---|---|---|
committer | Robin Appelman <robin@icewind.nl> | 2017-06-29 14:45:08 +0200 |
commit | 601362e164632a1b68e896bd5359d0b7308eed4f (patch) | |
tree | 0480f352ab4cbf72e0c1cbeb742990996ca4ad7c /lib | |
parent | 846e62c225070cbe9f8a0c8b14ec2a1f87ba1ca1 (diff) | |
download | nextcloud-server-601362e164632a1b68e896bd5359d0b7308eed4f.tar.gz nextcloud-server-601362e164632a1b68e896bd5359d0b7308eed4f.zip |
adjust to moved repair step
Signed-off-by: Robin Appelman <robin@icewind.nl>
Diffstat (limited to 'lib')
-rw-r--r-- | lib/private/Repair.php | 2 | ||||
-rw-r--r-- | lib/private/Repair/NC13/RepairInvalidPaths.php | 6 |
2 files changed, 6 insertions, 2 deletions
diff --git a/lib/private/Repair.php b/lib/private/Repair.php index 65b131169f7..dae328e6340 100644 --- a/lib/private/Repair.php +++ b/lib/private/Repair.php @@ -145,7 +145,7 @@ class Repair implements IOutput{ \OC::$server->getConfig(), \OC::$server->query(Installer::class) ), - new RepairInvalidPaths(\OC::$server->getDatabaseConnection()) + new RepairInvalidPaths(\OC::$server->getDatabaseConnection(), \OC::$server->getConfig()) ]; } diff --git a/lib/private/Repair/NC13/RepairInvalidPaths.php b/lib/private/Repair/NC13/RepairInvalidPaths.php index 8551f8261e2..076fbb735c8 100644 --- a/lib/private/Repair/NC13/RepairInvalidPaths.php +++ b/lib/private/Repair/NC13/RepairInvalidPaths.php @@ -22,6 +22,7 @@ namespace OC\Repair\NC13; +use OCP\IConfig; use OCP\IDBConnection; use OCP\Migration\IOutput; use OCP\Migration\IRepairStep; @@ -29,9 +30,12 @@ use OCP\Migration\IRepairStep; class RepairInvalidPaths implements IRepairStep { /** @var IDBConnection */ private $connection; + /** @var IConfig */ + private $config; - public function __construct(IDBConnection $connection) { + public function __construct(IDBConnection $connection, IConfig $config) { $this->connection = $connection; + $this->config = $config; } |