gerpage : supprime un test inutile

This commit is contained in:
fredtempez 2022-03-29 13:07:12 +02:00
parent 2f45c1d0c3
commit aff2dce496
1 changed files with 0 additions and 1 deletions

View File

@ -553,7 +553,6 @@ class common {
if (
$this->getData(['page', $page, 'content']) !== ''
&& file_exists(self::DATA_DIR . $lang . '/content/' . $this->getData(['page', $page, 'content']))
&& is_file(self::DATA_DIR . $lang . '/content/' . $this->getData(['page', $page, 'content']))
) {
return file_get_contents(self::DATA_DIR . $lang . '/content/' . $this->getData(['page', $page, 'content']));
} else {