[#9] implemented exception for ending twingle contributions
This commit is contained in:
parent
30ab55f3ba
commit
fc7c7d7d7b
6 changed files with 125 additions and 0 deletions
|
@ -3,6 +3,15 @@
|
|||
require_once 'twingle.civix.php';
|
||||
use CRM_Twingle_ExtensionUtil as E;
|
||||
|
||||
/**
|
||||
* Implements hook_civicrm_pre().
|
||||
*/
|
||||
function twingle_civicrm_pre($op, $objectName, $id, &$params) {
|
||||
if ($objectName == 'ContributionRecur' && $op == 'edit') {
|
||||
CRM_Twingle_Tools::checkRecurringContributionChange($id, $params);
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Implements hook_civicrm_config().
|
||||
*
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue