You are here

function accountmenu_uninstall in Account menu 6

Same name and namespace in other branches
  1. 7 accountmenu.install \accountmenu_uninstall()

Implements hook_uninstall.

File

./accountmenu.install, line 28
accountmenu.install accountmenu module install/uninstall

Code

function accountmenu_uninstall() {
  variable_del('accountmenu_menu_name');
  include_once 'accountmenu.module';
  _accountmenu_delete_menu();
  db_query("DELETE FROM {menu_custom} WHERE menu_name = 'accountmenu'");
}