mirror of
https://github.com/Oreolek/ifhub.club.git
synced 2024-06-28 20:45:00 +03:00
Issue #123
This commit is contained in:
parent
ac5e572b03
commit
9139462412
|
@ -432,6 +432,7 @@ class ModuleComment extends Module {
|
|||
public function AddComment(ModuleComment_EntityComment $oComment) {
|
||||
if (Config::Get('module.comment.use_nested')) {
|
||||
$sId=$this->oMapper->AddCommentTree($oComment);
|
||||
$this->Cache_Clean(Zend_Cache::CLEANING_MODE_MATCHING_TAG,array("comment_update"));
|
||||
} else {
|
||||
$sId=$this->oMapper->AddComment($oComment);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue