mirror of
https://github.com/Karaka-Management/oms-News.git
synced 2026-02-17 17:08: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');
|
throw new \Exception('Couldn\'t parse mapper');
|
||||||
}
|
}
|
||||||
|
|
||||||
$mapper = \str_replace([
|
// @todo removed until modular mapper extension is implemented
|
||||||
'// @Module Comments ',
|
// $mapper = \str_replace([
|
||||||
'/* @Module Comments ',
|
// '// @Module Comments ',
|
||||||
' @Module Comments */',
|
// '/* @Module Comments ',
|
||||||
], '', $mapper);
|
// ' @Module Comments */',
|
||||||
\file_put_contents(__DIR__ . '/../../Models/NewsArticleMapper.php', $mapper);
|
// ], '', $mapper);
|
||||||
|
// \file_put_contents(__DIR__ . '/../../Models/NewsArticleMapper.php', $mapper);
|
||||||
|
|
||||||
Autoloader::invalidate(__DIR__ . '/../../Models/NewsArticleMapper.php');
|
Autoloader::invalidate(__DIR__ . '/../../Models/NewsArticleMapper.php');
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user