From cbbcc489e03ca77f42b5e0b6a23c9d6e1c58be5b Mon Sep 17 00:00:00 2001 From: v-dumas Date: Thu, 28 May 2026 10:49:45 +0200 Subject: [PATCH] =?UTF-8?q?N=C2=B09553=20-=20Fix=20setup=20issue=20due=20t?= =?UTF-8?q?o=20wrong=20method=20params=20testing?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- setup/moduleinstaller.class.inc.php | 5 ----- 1 file changed, 5 deletions(-) diff --git a/setup/moduleinstaller.class.inc.php b/setup/moduleinstaller.class.inc.php index 7d9447806..4af241f1c 100644 --- a/setup/moduleinstaller.class.inc.php +++ b/setup/moduleinstaller.class.inc.php @@ -374,11 +374,6 @@ abstract class ModuleInstallerAPI if (substr_count($sFilePattern, '{{language_code}}') !== 1) { throw new CoreUnexpectedValue("LoadLocalizedData expects sFilePattern to contain the exact placeholder '{{language_code}}' exactly once"); } - - $sParentDirectory = dirname($sFilePattern); - if (!is_dir($sParentDirectory)) { - throw new CoreUnexpectedValue("LoadLocalizedData expects sFilePattern parent directory to exist, got '{$sParentDirectory}'"); - } } private static function IsValidLocalizedDataVersion(string $sVersion): bool