From e039a4c191fccba6e7b0e32e4fe0bb759382388a Mon Sep 17 00:00:00 2001 From: Bjoern Schiessle Date: Tue, 29 Aug 2017 10:56:14 +0200 Subject: [PATCH] move repair step to stable12 because we decided to backport it the repair step needs to be executed already on stable12 Signed-off-by: Bjoern Schiessle --- lib/private/Repair.php | 2 +- .../Repair/{NC13 => NC12}/RepairIdentityProofKeyFolders.php | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) rename lib/private/Repair/{NC13 => NC12}/RepairIdentityProofKeyFolders.php (96%) diff --git a/lib/private/Repair.php b/lib/private/Repair.php index 4e9a7cb5ce..80cd3c7fd4 100644 --- a/lib/private/Repair.php +++ b/lib/private/Repair.php @@ -40,7 +40,7 @@ use OC\Repair\NC11\FixMountStorages; use OC\Repair\NC11\MoveAvatars; use OC\Repair\NC12\InstallCoreBundle; use OC\Repair\NC12\UpdateLanguageCodes; -use OC\Repair\NC13\RepairIdentityProofKeyFolders; +use OC\Repair\NC12\RepairIdentityProofKeyFolders; use OC\Repair\OldGroupMembershipShares; use OC\Repair\Owncloud\DropAccountTermsTable; use OC\Repair\Owncloud\SaveAccountsTableData; diff --git a/lib/private/Repair/NC13/RepairIdentityProofKeyFolders.php b/lib/private/Repair/NC12/RepairIdentityProofKeyFolders.php similarity index 96% rename from lib/private/Repair/NC13/RepairIdentityProofKeyFolders.php rename to lib/private/Repair/NC12/RepairIdentityProofKeyFolders.php index 93a135b5cf..e02104ddf7 100644 --- a/lib/private/Repair/NC13/RepairIdentityProofKeyFolders.php +++ b/lib/private/Repair/NC12/RepairIdentityProofKeyFolders.php @@ -20,7 +20,7 @@ */ -namespace OC\Repair\NC13; +namespace OC\Repair\NC12; use OC\Files\AppData\Factory; @@ -83,7 +83,7 @@ class RepairIdentityProofKeyFolders implements IRepairStep { */ public function run(IOutput $output) { $versionFromBeforeUpdate = $this->config->getSystemValue('version', '0.0.0'); - if (version_compare($versionFromBeforeUpdate, '13.0.0.1', '<=')) { + if (version_compare($versionFromBeforeUpdate, '12.0.1.5', '<=')) { $count = $this->repair(); $output->info('Repaired ' . $count . ' folders'); }