function admin_menu_update_7303 in Administration menu 7.3
Same name and namespace in other branches
- 8.3 admin_menu.install \admin_menu_update_7303()
Remove local tasks from {menu_links} table.
File
- ./
admin_menu.install, line 96 - Install, update, and uninstall functions for the admin menu module.
Code
function admin_menu_update_7303() {
db_delete('menu_router')
->condition('path', 'admin/%', 'LIKE')
->condition('type', MENU_IS_LOCAL_TASK, '&')
->execute();
}