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>
This commit is contained in:
parent
45f687a279
commit
e039a4c191
|
@ -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;
|
||||
|
|
|
@ -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');
|
||||
}
|
Loading…
Reference in New Issue