mirror of
https://github.com/Karaka-Management/oms-News.git
synced 2026-01-11 16:18:41 +00:00
fix bugs
This commit is contained in:
parent
8051e949c2
commit
25713f704f
|
|
@ -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');
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user