I'm porting some code using Civi hooks from Civi 4.4 to 4.6 . The code needs to know when a relationship becomes active or inactive, regardless of how that happens, including via the enable/disable links on the Relationships tab.
My implementation for 4.4 used both hook_civicrm_post and hook_civicrm_enableDisable. In Civi 4.6, hook_civicrm_enableDisable has been removed. I've found that hook_civicrm_post gets called when the enable/disable links are used but the CRM_Contact_DAO_Relationship object passed in only has the id field populated, all the other fields are blank.
Is this a bug and so should be addressed in core, or intended behaviour and so something I have to work around in my hook implementation?
I'm using CiviCRM 4.6.4 with Drupal 7.