// Fixed issue with refresh of default_country_modules_list.xml

This commit is contained in:
dMetzger
2012-10-03 16:22:09 +00:00
parent b89c8f0966
commit e19831ba78
5 changed files with 14 additions and 10 deletions

View File

@@ -174,6 +174,10 @@ class AdminLocalizationControllerCore extends AdminController
}
}
// Remove the module list cache if the default country changed
if (Tools::isSubmit('submitOptionsconfiguration') && file_exists(Module::CACHE_FILE_DEFAULT_COUNTRY_MODULES_LIST))
@unlink(Module::CACHE_FILE_DEFAULT_COUNTRY_MODULES_LIST);
parent::postProcess();
}