summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBjoern Schiessle <bjoern@schiessle.org>2017-08-29 10:56:14 +0200
committerBjoern Schiessle <bjoern@schiessle.org>2017-09-01 11:05:11 +0200
commite039a4c191fccba6e7b0e32e4fe0bb759382388a (patch)
tree9e231f41c37393f5f5162988fe26ebdd1d23b385
parent45f687a279923030eb19cfb4bf21a3dd7b027fa6 (diff)
downloadnextcloud-server-e039a4c191fccba6e7b0e32e4fe0bb759382388a.tar.gz
nextcloud-server-e039a4c191fccba6e7b0e32e4fe0bb759382388a.zip
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 <bjoern@schiessle.org>
-rw-r--r--lib/private/Repair.php2
-rw-r--r--lib/private/Repair/NC12/RepairIdentityProofKeyFolders.php (renamed from lib/private/Repair/NC13/RepairIdentityProofKeyFolders.php)4
2 files changed, 3 insertions, 3 deletions
diff --git a/lib/private/Repair.php b/lib/private/Repair.php
index 4e9a7cb5cec..80cd3c7fd45 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
index 93a135b5cf0..e02104ddf70 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');
}