Skip to content

Commit d735a7b

Browse files
committed
no need to log the attempt to load from the po file
1 parent 03ae601 commit d735a7b

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

src/SimpleSAML/Locale/Localization.php

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -245,12 +245,6 @@ private function loadGettextGettextFromPO(
245245
$arrayGenerator->generateArray($translations)
246246
);
247247
} else {
248-
Logger::debug(sprintf(
249-
"%s - Localization file '%s' not found or not readable in '%s', falling back to default",
250-
$_SERVER['PHP_SELF'],
251-
$file->getfileName(),
252-
$langPath,
253-
));
254248
$file = new File($langPath . $domain . '.po', false);
255249
if ($file->getRealPath() !== false && $file->isReadable()) {
256250
$translations = (new PoLoader())->loadFile($file->getRealPath());

0 commit comments

Comments
 (0)