summaryrefslogtreecommitdiffstats
path: root/lib/private/Repair.php
diff options
context:
space:
mode:
authorJoas Schilling <coding@schilljs.com>2017-07-27 11:27:25 +0200
committerJoas Schilling <coding@schilljs.com>2017-08-07 12:08:36 +0200
commit40b47f13df0b97c7852c31b4ed8e3483e7f67c75 (patch)
tree9caf17203dd80beb23833e9b90de33c7bb72f2dd /lib/private/Repair.php
parentde911f6e5c394fc86f45edc58850fd2e7649913c (diff)
downloadnextcloud-server-40b47f13df0b97c7852c31b4ed8e3483e7f67c75.tar.gz
nextcloud-server-40b47f13df0b97c7852c31b4ed8e3483e7f67c75.zip
Add a repair step to drop the account_terms table on oc migration
Signed-off-by: Joas Schilling <coding@schilljs.com>
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 dae328e6340..6cfc8ddf4ad 100644
--- a/lib/private/Repair.php
+++ b/lib/private/Repair.php
@@ -40,6 +40,7 @@ use OC\Repair\NC11\MoveAvatars;
use OC\Repair\NC12\InstallCoreBundle;
use OC\Repair\NC12\UpdateLanguageCodes;
use OC\Repair\OldGroupMembershipShares;
+use OC\Repair\Owncloud\DropAccountTermsTable;
use OC\Repair\Owncloud\SaveAccountsTableData;
use OC\Repair\RemoveRootShares;
use OC\Repair\NC13\RepairInvalidPaths;
@@ -174,6 +175,7 @@ class Repair implements IOutput{
new Collation(\OC::$server->getConfig(), \OC::$server->getLogger(), $connection, true),
new SqliteAutoincrement($connection),
new SaveAccountsTableData($connection, $config),
+ new DropAccountTermsTable($connection),
];
return $steps;