Skip to content

Commit 53dfbc2

Browse files
committed
refactor(migration): drop legacy child override key path
Signed-off-by: Vitor Mattos <1079143+vitormattos@users.noreply.github.com>
1 parent 83c5b4b commit 53dfbc2

1 file changed

Lines changed: 0 additions & 5 deletions

File tree

lib/Migration/Version18001Date20260320000000.php

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,6 @@ class Version18001Date20260320000000 extends SimpleMigrationStep {
2323
private const EMPTY_STRING = '';
2424
private const IDENTIFY_METHODS_KEY = 'identify_methods';
2525
private const LEGACY_SYSTEM_KEY = SignatureFlowPolicy::KEY;
26-
private const LEGACY_ALLOW_CHILD_OVERRIDE_KEY = SignatureFlowPolicy::KEY . '.allow_child_override';
27-
private const SYSTEM_ALLOW_CHILD_OVERRIDE_SUFFIX = '.allow_child_override';
2826

2927
public function __construct(
3028
private IAppConfig $appConfig,
@@ -40,13 +38,10 @@ public function preSchemaChange(IOutput $output, Closure $schemaClosure, array $
4038

4139
private function migrateSignatureFlowKeys(): void {
4240
$newSystemKey = SignatureFlowPolicy::SYSTEM_APP_CONFIG_KEY;
43-
$newAllowChildOverrideKey = $newSystemKey . self::SYSTEM_ALLOW_CHILD_OVERRIDE_SUFFIX;
4441

4542
$this->copyStringValueWhenDestinationEmpty(self::LEGACY_SYSTEM_KEY, $newSystemKey);
46-
$this->copyStringValueWhenDestinationEmpty(self::LEGACY_ALLOW_CHILD_OVERRIDE_KEY, $newAllowChildOverrideKey);
4743

4844
$this->appConfig->deleteKey(self::APP_ID, self::LEGACY_SYSTEM_KEY);
49-
$this->appConfig->deleteKey(self::APP_ID, self::LEGACY_ALLOW_CHILD_OVERRIDE_KEY);
5045
}
5146

5247
private function migrateDocMdpLevelType(): void {

0 commit comments

Comments
 (0)