NOISSUE 불필요 제거.

This commit is contained in:
bnu 2014-01-09 16:23:44 +09:00
parent 0a00f74238
commit 9a8127367d

View file

@ -791,12 +791,6 @@ class moduleModel extends module
// Check if cached file exists
$cache_file = sprintf(_XE_PATH_ . "files/cache/module_info/%s.%s.%s.php", $module, Context::getLangType(), __XE_VERSION__);
if(file_exists($cache_file))
{
$module_info = include($cache_file);
if($module_info === 1 || !is_object($module_info)) $re_cache = TRUE;
}
// Update if no cache file exists or it is older than xml file
if(!file_exists($cache_file) || filemtime($cache_file) < filemtime($xml_file) || $re_cache)
{