mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-07 18:51:41 +09:00
Update references to CacheHandler in several modules
This commit is contained in:
parent
050a507707
commit
2f234dfad1
11 changed files with 39 additions and 144 deletions
|
|
@ -436,12 +436,7 @@ class commentAdminController extends comment
|
|||
$output = executeQuery('comment.deleteModuleCommentsList', $args);
|
||||
|
||||
//remove from cache
|
||||
$oCacheHandler = CacheHandler::getInstance('object');
|
||||
if($oCacheHandler->isSupport())
|
||||
{
|
||||
// Invalidate newest comments. Per document cache is invalidated inside document admin controller.
|
||||
$oCacheHandler->invalidateGroupKey('newestCommentsList');
|
||||
}
|
||||
Rhymix\Framework\Cache::clearGroup('newestCommentsList');
|
||||
return $output;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue