summaryrefslogtreecommitdiffstats
path: root/lib/private
diff options
context:
space:
mode:
authorMorris Jobke <hey@morrisjobke.de>2017-09-04 11:59:34 +0200
committerGitHub <noreply@github.com>2017-09-04 11:59:34 +0200
commit139f9bd3cae2dc3805fa90135778160801d3ebdd (patch)
tree1e7b39ed8bf9e7aca9cc29e83736c583c4f86005 /lib/private
parente33aa460f1d2fabc25b38d1de6a748c437717761 (diff)
parente1950219266f97d5a972e1c2ceefdee53f7d8ea0 (diff)
downloadnextcloud-server-139f9bd3cae2dc3805fa90135778160801d3ebdd.tar.gz
nextcloud-server-139f9bd3cae2dc3805fa90135778160801d3ebdd.zip
Merge pull request #6331 from nextcloud/update-repair-step
Generate system wide key pair (update repair step after backport)
Diffstat (limited to 'lib/private')
-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');
}