Details
-
Type: Improvement
-
Status: Done/Fixed
-
Priority: Minor
-
Resolution: Fixed/Completed
-
Affects Version/s: 4.7.18
-
Fix Version/s: 4.7.20
-
Component/s: Core CiviCRM
-
Labels:
-
Versioning Impact:Minor (add functionality in backwards-compatible manner)
-
Documentation Required?:Developer Doc
-
Funding Source:Contributed Code
-
Verified?:No
Description
CiviCRM core is using Symfony's event framework for DAO events and already raises civi.dao.postDelete in CRM_Core_DAO->delete(). Having it raise civi.dao.preDelete just before the deletion would be useful in the same way that hook_civicrm_pre complements hook_civicrm_post.