function delta_uninstall in Delta 6
Same name and namespace in other branches
- 7 delta.install \delta_uninstall()
- 7.2 delta.install \delta_uninstall()
Implementation of hook_uninstall
See also
http://api.drupal.org/api/function/hook_uninstall/6
File
- ./
delta.install, line 18
Code
function delta_uninstall() {
// uninstall database schema
drupal_uninstall_schema('delta');
// Delete menu links.
db_query("DELETE FROM {menu_links} WHERE module = 'delta'");
// in case project/admin has altered our links
db_query("DELETE FROM {menu_links} WHERE link_path = 'admin/build/delta-theme-settings'");
menu_cache_clear_all();
// remove any set variables
variable_del('delta_themes');
}