From 25713f704f093e0a5dac6e49410e93c43b320f50 Mon Sep 17 00:00:00 2001 From: Dennis Eichhorn Date: Fri, 14 Jun 2024 18:14:14 +0000 Subject: [PATCH] fix bugs --- Admin/Install/Comments.php | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/Admin/Install/Comments.php b/Admin/Install/Comments.php index 2056782..37aee20 100755 --- a/Admin/Install/Comments.php +++ b/Admin/Install/Comments.php @@ -50,12 +50,13 @@ class Comments throw new \Exception('Couldn\'t parse mapper'); } - $mapper = \str_replace([ - '// @Module Comments ', - '/* @Module Comments ', - ' @Module Comments */', - ], '', $mapper); - \file_put_contents(__DIR__ . '/../../Models/NewsArticleMapper.php', $mapper); + // @todo removed until modular mapper extension is implemented + // $mapper = \str_replace([ + // '// @Module Comments ', + // '/* @Module Comments ', + // ' @Module Comments */', + // ], '', $mapper); + // \file_put_contents(__DIR__ . '/../../Models/NewsArticleMapper.php', $mapper); Autoloader::invalidate(__DIR__ . '/../../Models/NewsArticleMapper.php'); }