Skip to content

Commit 6c052b9

Browse files
committed
fix(Migration): remove superfluous check for localized collectives folder
Signed-off-by: Jonas <jonas@freesources.org>
1 parent ed261b0 commit 6c052b9

1 file changed

Lines changed: 0 additions & 5 deletions

File tree

lib/Migration/MigrateUserFolderSettings.php

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -65,11 +65,6 @@ public function run(IOutput $output): void {
6565
$oldDefaultUserFolderPathL10n = DIRECTORY_SEPARATOR . $l10n->t('Collectives');
6666
$newDefaultUserFolderPathL10n = DIRECTORY_SEPARATOR . '.' . $l10n->t('Collectives');
6767

68-
if ($userFolderPath === $oldDefaultUserFolderPathL10n) {
69-
// new default localized user folder path, already migrated
70-
return;
71-
}
72-
7368
if ($userFolderPath === $oldDefaultUserFolderPathL10n) {
7469
// Old default localized user folder path, update setting
7570
$this->config->setUserValue($user->getUID(), 'collectives', 'user_folder', $newDefaultUserFolderPathL10n);

0 commit comments

Comments
 (0)