summaryrefslogtreecommitdiffstats
path: root/lib/private/Repair.php
diff options
context:
space:
mode:
authorVincent Petry <pvince81@owncloud.com>2016-06-16 09:27:06 +0200
committerGitHub <noreply@github.com>2016-06-16 09:27:06 +0200
commit1251df3e172ca6f92db9ebaf1e4b74a28f3652f0 (patch)
tree00c909e855612158774382c2377bb03bb2b68787 /lib/private/Repair.php
parentd08eee489ffe9b32110b88b4a5128f2f6188d111 (diff)
parent64471b5d4a235addcc4dde43cb80232a403f8e08 (diff)
downloadnextcloud-server-1251df3e172ca6f92db9ebaf1e4b74a28f3652f0.tar.gz
nextcloud-server-1251df3e172ca6f92db9ebaf1e4b74a28f3652f0.zip
Merge pull request #25075 from owncloud/fix_23265
Remove shares of the root folder
Diffstat (limited to 'lib/private/Repair.php')
-rw-r--r--lib/private/Repair.php2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/private/Repair.php b/lib/private/Repair.php
index 1fd204fcd84..96731fa9dfd 100644
--- a/lib/private/Repair.php
+++ b/lib/private/Repair.php
@@ -36,6 +36,7 @@ use OC\Repair\DropOldJobs;
use OC\Repair\OldGroupMembershipShares;
use OC\Repair\RemoveGetETagEntries;
use OC\Repair\RemoveOldShares;
+use OC\Repair\RemoveRootShares;
use OC\Repair\SharePropagation;
use OC\Repair\SqliteAutoincrement;
use OC\Repair\DropOldTables;
@@ -136,6 +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()),
];
}