1
0
Fork 0
mirror of https://github.com/Oreolek/ifhub.club.git synced 2024-06-16 14:50:48 +03:00

fix #258 - Update Comment.class.php

This commit is contained in:
Mzhelskiy Maxim 2014-05-30 13:02:52 +07:00
parent ffae2214c0
commit ae2f8a2693
2 changed files with 2 additions and 2 deletions

View file

@ -482,7 +482,7 @@ class ModuleComment extends Module {
$this->Topic_increaseTopicCountComment($oComment->getTargetId());
}
//чистим зависимые кеши
$this->Cache_Clean(Zend_Cache::CLEANING_MODE_MATCHING_TAG,array("comment_new_{$oComment->getTargetType()}","comment_new_user_{$oComment->getUserId()}_{$oComment->getTargetType()}","comment_new_{$oComment->getTargetType()}_{$oComment->getTargetId()}"));
$this->Cache_Clean(Zend_Cache::CLEANING_MODE_MATCHING_TAG,array("comment_new","comment_new_{$oComment->getTargetType()}","comment_new_user_{$oComment->getUserId()}_{$oComment->getTargetType()}","comment_new_{$oComment->getTargetType()}_{$oComment->getTargetId()}"));
$oComment->setId($sId);
return $oComment;
}

@ -1 +1 @@
Subproject commit 0cf523791e8f529acb8be6ec3c41914cde521aa5
Subproject commit 2017247929d1e00ed13d02633a86fb82e242267f