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