aboutsummaryrefslogtreecommitdiffstats
path: root/lib/private/Repair.php
diff options
context:
space:
mode:
authorVincent Petry <pvince81@owncloud.com>2016-06-17 10:53:55 +0200
committerVincent Petry <pvince81@owncloud.com>2016-06-17 11:09:12 +0200
commit73e284e1e136e3cbb1431d067f86c3ca02a4d4c7 (patch)
treeb8042ba4c8e7978512a4e81ec5335137cfdfea7f /lib/private/Repair.php
parentcc532bb14aed74c397efa29a19ba48a3eeeb0cf0 (diff)
downloadnextcloud-server-73e284e1e136e3cbb1431d067f86c3ca02a4d4c7.tar.gz
nextcloud-server-73e284e1e136e3cbb1431d067f86c3ca02a4d4c7.zip
Use getLazyRootFolder from RemoveRootShares repair step
This prevents the command registration to setup the FS too early when FS-related apps might need upgrading.
Diffstat (limited to 'lib/private/Repair.php')
-rw-r--r--lib/private/Repair.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/private/Repair.php b/lib/private/Repair.php
index 96731fa9dfd..2b33dc413b4 100644
--- a/lib/private/Repair.php
+++ b/lib/private/Repair.php
@@ -137,7 +137,7 @@ class Repair implements IOutput{
new SharePropagation(\OC::$server->getConfig()),
new RemoveOldShares(\OC::$server->getDatabaseConnection()),
new AvatarPermissions(\OC::$server->getDatabaseConnection()),
- new RemoveRootShares(\OC::$server->getDatabaseConnection(), \OC::$server->getUserManager(), \OC::$server->getRootFolder()),
+ new RemoveRootShares(\OC::$server->getDatabaseConnection(), \OC::$server->getUserManager(), \OC::$server->getLazyRootFolder()),
];
}