You are here

function menu_token_unset in Menu Token 6

1 call to menu_token_unset()
menu_token_form_menu_edit_item_submit in ./menu_token.admin.inc
Custom submit function for form menu_edit_form.

File

./menu_token.inc, line 66

Code

function menu_token_unset($mlid) {
  global $menu_token_conf;
  db_query('DELETE FROM {menu_token} WHERE mlid = %d', $mlid);
  unset($menu_token_conf[$mlid]);
}