diff --git a/batchexportperm.php b/batchexportperm.php index 72861d5..b84d9ac 100644 --- a/batchexportperm.php +++ b/batchexportperm.php @@ -272,20 +272,6 @@ function _getExportData($contributionId) { return CRM_Utils_Date::customFormat($date); } -/** - * Implements hook_civicrm_post(). - * - * @link http://wiki.civicrm.org/confluence/display/CRMDOC/hook_civicrm_post - */ -function batchexportperm_civicrm_post($op, $objectName, $objectId, &$objectRef) { - if ($objectName == 'Batch' && $op == 'edit') { - if (CRM_Core_Smarty::singleton()->get_template_vars("batch_status_change_{$objectId}")) { - _batchexportperm_civicrm_update_contribution_exporteddate($objectId); - CRM_Core_Smarty::singleton()->assign("batch_status_change_{$objectId}", FALSE); - } - } -} - /** * Display batch eport info on the contribution. *