From b7e090a19018a12f4ad91e55e945a7547de6533f Mon Sep 17 00:00:00 2001 From: Jon Goldberg Date: Fri, 16 Aug 2019 15:43:14 -0400 Subject: [PATCH] remove a 1.x function that's no lnger needed --- batchexportperm.php | 14 -------------- 1 file changed, 14 deletions(-) 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. *