[ticket/494] Remove SQL queries to portal_modules when changing settings

B3P-494
This commit is contained in:
Marc Alexander
2015-03-04 17:32:53 +01:00
parent 9fe7e17124
commit 1a74082154
5 changed files with 7 additions and 5 deletions

View File

@@ -296,7 +296,7 @@ class portal_module
WHERE module_id = ' . (int) $module_id;
$this->db->sql_query($sql);
$this->cache->destroy('portal_modules');
$this->cache->destroy('sql', PORTAL_MODULES_TABLE);
$this->cache->destroy('sql', CONFIG_TABLE);
if(isset($module_name))