diff options
Diffstat (limited to 'lib/private/Repair.php')
-rw-r--r-- | lib/private/Repair.php | 35 |
1 files changed, 0 insertions, 35 deletions
diff --git a/lib/private/Repair.php b/lib/private/Repair.php index e8d466cd844..6344db64e8e 100644 --- a/lib/private/Repair.php +++ b/lib/private/Repair.php @@ -30,28 +30,17 @@ namespace OC; -use OC\Repair\AssetCache; use OC\Repair\CleanTags; use OC\Repair\Collation; -use OC\Repair\DropOldJobs; use OC\Repair\MoveUpdaterStepFile; use OC\Repair\NC11\CleanPreviews; use OC\Repair\NC11\FixMountStorages; use OC\Repair\NC11\MoveAvatars; 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; -use OC\Repair\FillETags; -use OC\Repair\InnoDB; use OC\Repair\RepairMimeTypes; -use OC\Repair\SearchLuceneTables; -use OC\Repair\UpdateOutdatedOcsIds; use OC\Repair\RepairInvalidShares; -use OC\Repair\RepairUnmergedShares; use OCP\AppFramework\QueryException; use OCP\Migration\IOutput; use OCP\Migration\IRepairStep; @@ -131,23 +120,9 @@ class Repair implements IOutput{ return [ new Collation(\OC::$server->getConfig(), \OC::$server->getLogger(), \OC::$server->getDatabaseConnection(), false), new RepairMimeTypes(\OC::$server->getConfig()), - new AssetCache(), - new FillETags(\OC::$server->getDatabaseConnection()), new CleanTags(\OC::$server->getDatabaseConnection(), \OC::$server->getUserManager()), - new DropOldTables(\OC::$server->getDatabaseConnection()), - new DropOldJobs(\OC::$server->getJobList()), - new RemoveGetETagEntries(\OC::$server->getDatabaseConnection()), - new UpdateOutdatedOcsIds(\OC::$server->getConfig()), new RepairInvalidShares(\OC::$server->getConfig(), \OC::$server->getDatabaseConnection()), - new SharePropagation(\OC::$server->getConfig()), - new RemoveOldShares(\OC::$server->getDatabaseConnection()), new RemoveRootShares(\OC::$server->getDatabaseConnection(), \OC::$server->getUserManager(), \OC::$server->getLazyRootFolder()), - new RepairUnmergedShares( - \OC::$server->getConfig(), - \OC::$server->getDatabaseConnection(), - \OC::$server->getUserManager(), - \OC::$server->getGroupManager() - ), new MoveUpdaterStepFile(\OC::$server->getConfig()), new MoveAvatars( \OC::$server->getJobList(), @@ -183,20 +158,10 @@ class Repair implements IOutput{ public static function getBeforeUpgradeRepairSteps() { $connection = \OC::$server->getDatabaseConnection(); $steps = [ - new InnoDB(), new Collation(\OC::$server->getConfig(), \OC::$server->getLogger(), $connection, true), new SqliteAutoincrement($connection), - new SearchLuceneTables(), ]; - //There is no need to delete all previews on every single update - //only 7.0.0 through 7.0.2 generated broken previews - $currentVersion = \OC::$server->getConfig()->getSystemValue('version'); - if (version_compare($currentVersion, '7.0.0.0', '>=') && - version_compare($currentVersion, '7.0.3.4', '<=')) { - $steps[] = new \OC\Repair\Preview(); - } - return $steps; } |