mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-08 19:21:40 +09:00
#242 object cache 정리
This commit is contained in:
parent
d4d43c1382
commit
37c5e114ec
20 changed files with 513 additions and 253 deletions
|
|
@ -305,6 +305,12 @@ class module extends ModuleObject
|
|||
$module_info->skin_vars = null;
|
||||
$module_info->admin_id = null;
|
||||
executeQuery('module.updateModule', $module_info);
|
||||
|
||||
$oCacheHandler = CacheHandler::getInstance('object', null, true);
|
||||
if($oCacheHandler->isSupport())
|
||||
{
|
||||
$oCacheHandler->invalidateGroupKey('site_and_module');
|
||||
}
|
||||
}
|
||||
}
|
||||
// Various column drop
|
||||
|
|
@ -554,6 +560,11 @@ class module extends ModuleObject
|
|||
$output = executeQuery('module.updateModule', $moduleInfo);
|
||||
if(!$output->toBool())
|
||||
{
|
||||
$oCacheHandler = CacheHandler::getInstance('object', null, true);
|
||||
if($oCacheHandler->isSupport())
|
||||
{
|
||||
$oCacheHandler->invalidateGroupKey('site_and_module');
|
||||
}
|
||||
return $output;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue