forked from CiviWare/org.agbu.batchexportperm
		
	remove a 1.x function that's no lnger needed
This commit is contained in:
		@@ -272,20 +272,6 @@ function _getExportData($contributionId) {
 | 
				
			|||||||
  return CRM_Utils_Date::customFormat($date);
 | 
					  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.
 | 
					 * Display batch eport info on the contribution.
 | 
				
			||||||
 *
 | 
					 *
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user