mirror of
https://github.com/Combodo/iTop.git
synced 2026-06-01 21:52:17 +02:00
N°9553 - Fix setup issue due to wrong method params testing
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user