mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-08 19:21:40 +09:00
Update to module info cache - invalidate extra vars on module update.
git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.0@9437 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
c9fed498f7
commit
a10fbe62db
1 changed files with 20 additions and 17 deletions
|
|
@ -377,6 +377,7 @@
|
|||
$oDB->commit();
|
||||
|
||||
$output->add('module_srl',$args->module_srl);
|
||||
|
||||
//remove from cache
|
||||
$oCacheHandler = &CacheHandler::getInstance('object');
|
||||
if($oCacheHandler->isSupport()){
|
||||
|
|
@ -384,6 +385,8 @@
|
|||
$oCacheHandler->delete($cache_key);
|
||||
$cache_key = 'object:'.$args->mid.'_'.$args->site_srl;
|
||||
$oCacheHandler->delete($cache_key);
|
||||
$cache_key = 'object:module_extra_vars_'.$args->module_srl;
|
||||
$oCacheHandler->delete($cache_key);
|
||||
}
|
||||
return $output;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue