mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-07 18:51:41 +09:00
Issue 1814: APC Cache doesn't updated, after to execute moduleController::updateModuleConfig()
git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.0@10509 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
a58e283821
commit
7238e44ab4
1 changed files with 8 additions and 7 deletions
|
|
@ -150,13 +150,6 @@
|
|||
}
|
||||
|
||||
return $this->insertModuleConfig($module, $origin_config, $site_srl);
|
||||
//remove from cache
|
||||
$oCacheHandler = &CacheHandler::getInstance('object');
|
||||
if($oCacheHandler->isSupport())
|
||||
{
|
||||
$cache_key = 'object:module_config:module_'.$module.'_site_srl_'.$site_srl;
|
||||
$oCacheHandler->delete($cache_key);
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
@ -172,6 +165,14 @@
|
|||
if(!$output->toBool()) return $output;
|
||||
|
||||
$output = executeQuery('module.insertModuleConfig', $args);
|
||||
|
||||
//remove from cache
|
||||
$oCacheHandler = &CacheHandler::getInstance('object');
|
||||
if($oCacheHandler->isSupport())
|
||||
{
|
||||
$cache_key = 'object:module_config:module_'.$module.'_site_srl_'.$site_srl;
|
||||
$oCacheHandler->delete($cache_key);
|
||||
}
|
||||
return $output;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue