Update references to CacheHandler in several modules

This commit is contained in:
Kijin Sung 2016-04-18 00:55:29 +09:00
parent 050a507707
commit 2f234dfad1
11 changed files with 39 additions and 144 deletions

View file

@ -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;
}