Details
-
Type: Improvement
-
Status: Done/Fixed
-
Priority: Trivial
-
Resolution: Fixed/Completed
-
Affects Version/s: 4.6
-
Fix Version/s: 4.6
-
Component/s: CiviCampaign, Core CiviCRM
-
Labels:None
-
Documentation Required?:Developer Doc
Description
I have several use case where i want information whenever a campaign is created / modified / deleted. I can use hook_civicrm_postProcess but it won't work if altering the campaign using the API.
I think calling hook_civicrm_pre / hook_civicrm_post from CRM/Campaign/BAO/Campaign.php will solve the problem.