1
0
Fork 0
mirror of https://github.com/Oreolek/ifhub.club.git synced 2024-06-26 03:30:48 +03:00
This commit is contained in:
Mzhelskiy Maxim 2012-06-10 14:51:56 +04:00
parent ac5e572b03
commit 9139462412

View file

@ -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);
}