mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-05-04 01:23:32 +09:00
Issue 1422: fixed caching for module_srl and for module_extra_vars
git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.0@10178 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
64a99a2d28
commit
b035fe00e7
2 changed files with 3 additions and 1 deletions
|
|
@ -455,6 +455,8 @@
|
||||||
if($oCacheHandler->isSupport()){
|
if($oCacheHandler->isSupport()){
|
||||||
$cache_key = 'object_module_info:'.$args->module_srl;
|
$cache_key = 'object_module_info:'.$args->module_srl;
|
||||||
$oCacheHandler->delete($cache_key);
|
$oCacheHandler->delete($cache_key);
|
||||||
|
$cache_key = 'object:module_extra_vars_'.$args->module_srl;
|
||||||
|
$oCacheHandler->delete($cache_key);
|
||||||
}
|
}
|
||||||
return $output;
|
return $output;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -183,7 +183,7 @@
|
||||||
$args->module_srl = $module_srl;
|
$args->module_srl = $module_srl;
|
||||||
$oCacheHandler = &CacheHandler::getInstance('object');
|
$oCacheHandler = &CacheHandler::getInstance('object');
|
||||||
if($oCacheHandler->isSupport()){
|
if($oCacheHandler->isSupport()){
|
||||||
$cache_key = 'object:'.$module_srl;
|
$cache_key = 'object_module_info:'.$module_srl;
|
||||||
$output = $oCacheHandler->get($cache_key);
|
$output = $oCacheHandler->get($cache_key);
|
||||||
}
|
}
|
||||||
if(!$output){
|
if(!$output){
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue