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:
ucorina 2012-03-30 12:49:16 +00:00
parent a58e283821
commit 7238e44ab4

View file

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