[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

@@ -215,7 +215,7 @@ class manager
trigger_error($this->user->lang['UNABLE_TO_MOVE' . (($is_row) ? '_ROW' : '')] . adm_back_link($this->u_action));
}
$this->cache->destroy('portal_modules');
$this->cache->destroy('sql', PORTAL_MODULES_TABLE);
// Handle ajax requests
$this->handle_ajax_request(array('success' => true));
@@ -375,7 +375,7 @@ class manager
}
}
$this->cache->destroy('portal_modules');
$this->cache->destroy('sql', PORTAL_MODULES_TABLE);
}
/**