diff --git a/civihr_employee_portal/civihr_employee_portal.install b/civihr_employee_portal/civihr_employee_portal.install index dce18f0d..a0dc9dde 100644 --- a/civihr_employee_portal/civihr_employee_portal.install +++ b/civihr_employee_portal/civihr_employee_portal.install @@ -454,6 +454,18 @@ function civihr_employee_portal_update_7035() { drush_civihr_employee_portal_refresh_node_export_files(); } +/** + * Removes old 'Help' menu link from main menu + */ +function civihr_employee_portal_update_7036() { + db_delete('menu_links') + ->condition('link_title', 'help') + ->condition('menu_name', 'main-menu') + ->execute(); + + cache_clear_all(); +} + /** * Function to determine whether menu link exists or not. *