Merge pull request #497 from marc1706/ticket/494

[ticket/494] Improve caching and query performance of portal
This commit is contained in:
Marc Alexander
2015-03-05 10:31:43 +01:00
20 changed files with 98 additions and 71 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))