summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVincent Petry <pvince81@owncloud.com>2016-06-17 15:57:09 +0200
committerGitHub <noreply@github.com>2016-06-17 15:57:09 +0200
commitcab7106dfb75ac9c59d4cdac132b17a1d2f97534 (patch)
tree1d8a38f040302d815c767f253c2247627c178d3f
parent491e2654ebed82044f84d3adcc5f845dc471ae06 (diff)
parent73e284e1e136e3cbb1431d067f86c3ca02a4d4c7 (diff)
downloadnextcloud-server-cab7106dfb75ac9c59d4cdac132b17a1d2f97534.tar.gz
nextcloud-server-cab7106dfb75ac9c59d4cdac132b17a1d2f97534.zip
Merge pull request #25158 from owncloud/removerootshares-delaygetrootfolder
Delay getRootFolder from RemoveRootShares repair step
-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()),
];
}