function views_update_7001
Fix missing items from Views administrative breadcrumb.
File
-
./
views.install, line 610
Code
function views_update_7001() {
$depth = db_select('menu_links')->fields('menu_links', array(
'depth',
))
->condition('link_path', 'admin/structure/views/view/%')
->execute()
->fetchField();
if ($depth == 3) {
db_delete('menu_links')->condition('link_path', 'admin/structure/views/%', 'LIKE')
->execute();
cache_clear_all(NULL, 'cache_menu');
menu_rebuild();
}
}