You are here

function groupmenu_delete_menu in Group Menu 7

Deletes menus for group menu table.

2 calls to groupmenu_delete_menu()
groupmenu_delete_menu_confirm_submit in ./groupmenu.module
Submit handler used on various forms.
groupmenu_entity_delete in ./groupmenu.module
Implements hook_entity_delete().

File

./groupmenu.module, line 531
Integrates menu with Group.

Code

function groupmenu_delete_menu($menu_name) {
  db_delete('group_menu')
    ->condition('menu_name', $menu_name)
    ->execute();
}