function block_menu_delete
Implements hook_menu_delete().
File
- 
              modules/block/ block.module, line 1062 
Code
function block_menu_delete($menu) {
  db_delete('block')->condition('module', 'menu')
    ->condition('delta', $menu['menu_name'])
    ->execute();
  db_delete('block_role')->condition('module', 'menu')
    ->condition('delta', $menu['menu_name'])
    ->execute();
}Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.
