fix #385 object cache 정리 및 오류가 발생할 수 는 문제 해결

This commit is contained in:
bnu 2014-01-29 14:30:32 +09:00
parent 58e141c48a
commit d48d9d80a7
14 changed files with 175 additions and 167 deletions

View file

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