You are here

function acquia_lift_update_7004 in Acquia Lift Connector 7.2

Same name and namespace in other branches
  1. 7 acquia_lift.install \acquia_lift_update_7004()

Fix options for links.

Delete and rebuilds the menu items so that the corrected option classes can be assigned.

File

./acquia_lift.install, line 468
Acquia Lift - Installation file.

Code

function acquia_lift_update_7004() {
  menu_link_delete(NULL, 'admin/structure/personalize');
  menu_link_delete(NULL, 'admin/structure/personalize/add');
  menu_link_delete(NULL, 'admin/help/acquia_lift');
  menu_link_delete(NULL, 'admin/structure/visitor_actions');
  menu_link_delete(NULL, 'admin/structure/visitor_actions/add');
  menu_link_delete(NULL, 'admin/structure/personalize/manage/acquia-lift-placeholder/report');
  _acquia_lift_build_menu('acquia-lift-controls');
}