mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-04-22 03:42:18 +09:00
fix #385 object cache 정리 및 오류가 발생할 수 는 문제 해결
This commit is contained in:
parent
58e141c48a
commit
d48d9d80a7
14 changed files with 175 additions and 167 deletions
|
|
@ -442,6 +442,7 @@ class commentModel extends comment
|
|||
}
|
||||
|
||||
// cache controll
|
||||
$output = false;
|
||||
$oCacheHandler = CacheHandler::getInstance('object');
|
||||
if($oCacheHandler->isSupport())
|
||||
{
|
||||
|
|
@ -450,7 +451,7 @@ class commentModel extends comment
|
|||
$output = $oCacheHandler->get($cache_key);
|
||||
}
|
||||
|
||||
if(!$output)
|
||||
if($output === FALSE)
|
||||
{
|
||||
// get the number of comments on the document module
|
||||
$oDocumentModel = getModel('document');
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue