CRM-19813 - CRM_Utils_Hook - Cleanup existing dual-emit events
authorTim Otten <totten@civicrm.org>
Fri, 3 Mar 2017 22:38:20 +0000 (14:38 -0800)
committerTim Otten <totten@civicrm.org>
Thu, 30 Mar 2017 22:39:52 +0000 (15:39 -0700)
commitc73e3098ad04a4c1a96870614022bcac68d3b663
tree792b734ca827daaad28d5e30f9a558eb7e8a1227
parent762dc04dcf9b61d964d24b7177289c79e104922c
CRM-19813 - CRM_Utils_Hook - Cleanup existing dual-emit events

There are a handful of events which have been dual-emitted by explicitly
calling both the dispatcher and Hook::invoke().  The dispatcher now calls
Hook::invoke automatically (if applicable), so we can omit that.
CRM/Utils/Hook.php
Civi/CCase/Event/CaseChangeEvent.php
Civi/Core/Container.php
Civi/Core/Event/PostEvent.php
Civi/Core/Event/PreEvent.php
Civi/Core/Event/UnhandledExceptionEvent.php