civicrm/civihr — pull request #250 by dakshayani (2013-11-27 13:54:41+00:00)
Title: --HR-217 Directory link gives Access denied message

Directory link gives Access denied message after upgrade, As the "hrprofile" extension is not getting enabled when we upgrade the HR extension and Menu link create for this is handled in this extension and path is changed in "hrstaffdir" extension.

Modification is done for below cases,

1 hrstaffdirecory is Installed, hrprofile is not installed
Directory link will be : civicrm/profile

2 hrstaffdirecory is Installed, hrprofile is installed
Directory link will be : civicrm/profile/table

3 hrstaffdirecory is Installed, hrprofile is enable
Directory link will be : civicrm/profile/table

4 hrstaffdirecory is Installed, hrprofile is disabled
Directory link will be : civicrm/profile

5 hrstaffdirecory is Installed, hrprofile is uninstalled
Directory link will be : civicrm/profile