Details
Description
On wordpress 4.4 civicrm, uninstalling civiHR uninstall does not auto remove 'Directory' from menu and requires a user operation.
On wordpress 4.4 civicrm, uninstalling civiHR uninstall does not auto remove 'Directory' from menu and requires a user operation.
Note that hrstaffdir_civicrm_install() inserts the link but nothing removes the link. Could uninstall the link via hrstaffdir_civicrm_uninstall(). (Although strictly speaking... it would be better to use hook_enable/hook_disable instead of hook_install/hook_uninstall.)
However, best approach might be to use hook_civicrm_navigationMenu and the helper function _hrstaffdir_civix_insert_navigation_menu().