Details
Description
At least in the case of disabling a relationship, the $objectName in hook_civicrm_post is sent as "relationship" rather than "Relationship". I don't know if this is a consequence of deprecating hook_civicrm_enableDisable, but it's definitely a surprise. Ideally, it would be consistent everywhere, but otherwise, it'll need to be documented that the value could be capitalized or not.