mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-04-12 23:12:13 +09:00
Comment caching improvements.
git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.0@9789 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
97470e4d40
commit
41584ccd58
4 changed files with 24 additions and 22 deletions
|
|
@ -244,7 +244,8 @@
|
|||
$oCacheHandler = &CacheHandler::getInstance('object');
|
||||
if($oCacheHandler->isSupport())
|
||||
{
|
||||
$oCacheHandler->invalidateGroupKey('commentList');
|
||||
$oCacheHandler->invalidateGroupKey('commentList_' . $document_srl);
|
||||
$oCacheHandler->invalidateGroupKey('newestCommentsList');
|
||||
}
|
||||
return $output;
|
||||
}
|
||||
|
|
@ -326,7 +327,8 @@
|
|||
$oCacheHandler = &CacheHandler::getInstance('object');
|
||||
if($oCacheHandler->isSupport())
|
||||
{
|
||||
$oCacheHandler->invalidateGroupKey('commentList');
|
||||
$oCacheHandler->invalidateGroupKey('commentList_' . $obj->document_srl);
|
||||
$oCacheHandler->invalidateGroupKey('newestCommentsList');
|
||||
}
|
||||
return $output;
|
||||
}
|
||||
|
|
@ -395,7 +397,8 @@
|
|||
$oCacheHandler = &CacheHandler::getInstance('object');
|
||||
if($oCacheHandler->isSupport())
|
||||
{
|
||||
$oCacheHandler->invalidateGroupKey('commentList');
|
||||
$oCacheHandler->invalidateGroupKey('commentList_' . $document_srl);
|
||||
$oCacheHandler->invalidateGroupKey('newestCommentsList');
|
||||
}
|
||||
return $output;
|
||||
}
|
||||
|
|
@ -454,7 +457,8 @@
|
|||
$oCacheHandler = &CacheHandler::getInstance('object');
|
||||
if($oCacheHandler->isSupport())
|
||||
{
|
||||
$oCacheHandler->invalidateGroupKey('commentList');
|
||||
$oCacheHandler->invalidateGroupKey('commentList_' . $document_srl);
|
||||
$oCacheHandler->invalidateGroupKey('newestCommentsList');
|
||||
}
|
||||
|
||||
return $output;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue