Details
-
Type: Improvement
-
Status: Done/Fixed
-
Priority: Minor
-
Resolution: Fixed/Completed
-
Affects Version/s: 4.2.2
-
Fix Version/s: 4.3.0
-
Component/s: Core CiviCRM
-
Labels:
Description
Currently there is not a way to pass along parameters to the callback when using CRM_Core_Transaction::addCallback. This leave people using things like global variables and session making things a bit sloppy and/or hard to debug.
I've attached a patch to alter the existing CRM_Core_Transaction::addCallback and invokeCallbacks that seems to be backward compatible per my testing.