and "separator" to . */ function special_menu_items_update_7000(&$sandbox) { // Change "nolink" to . db_update('menu_links') ->fields(array( 'link_path' => '', 'router_path' => '', )) ->condition('router_path', 'nolink', '=') ->execute(); // Change "separator" to . db_update('menu_links') ->fields(array( 'link_path' => '', 'router_path' => '', )) ->condition('router_path', 'separator', '=') ->execute(); // We don't need this variable anymore. variable_del('special_menu_items_menu_item_link'); }