summaryrefslogtreecommitdiffstats
path: root/lib/private
diff options
context:
space:
mode:
authorRoeland Jago Douma <roeland@famdouma.nl>2018-05-24 09:27:40 +0200
committerRoeland Jago Douma <roeland@famdouma.nl>2018-05-28 13:26:55 +0200
commit26c1e33d115cad3029c0663b7a388be0aff6417b (patch)
treef5f8ae4f82e738783f5b4689b957fb5a3df3e259 /lib/private
parentf9a64d3e1bf35c704fcf2ec9151b947213917a90 (diff)
downloadnextcloud-server-26c1e33d115cad3029c0663b7a388be0aff6417b.tar.gz
nextcloud-server-26c1e33d115cad3029c0663b7a388be0aff6417b.zip
Move repairstep to a custom command
People that have issues can run it manually Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
Diffstat (limited to 'lib/private')
-rw-r--r--lib/private/Repair.php4
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/private/Repair.php b/lib/private/Repair.php
index 8746f1e6f27..27746993443 100644
--- a/lib/private/Repair.php
+++ b/lib/private/Repair.php
@@ -47,6 +47,8 @@ use OC\Repair\RepairMimeTypes;
use OC\Repair\RepairInvalidShares;
use OC\Template\JSCombiner;
use OC\Template\SCSSCacher;
+use OCA\DAV\Connector\Sabre\Principal;
+use OCA\DAV\Repair\RemoveInvalidShares;
use OCP\AppFramework\QueryException;
use OCP\Migration\IOutput;
use OCP\Migration\IRepairStep;
@@ -146,7 +148,7 @@ class Repair implements IOutput{
*/
public static function getExpensiveRepairSteps() {
return [
- new OldGroupMembershipShares(\OC::$server->getDatabaseConnection(), \OC::$server->getGroupManager())
+ new OldGroupMembershipShares(\OC::$server->getDatabaseConnection(), \OC::$server->getGroupManager()),
];
}