Merge pull request #1035 from GiantRobot/CRM-12720
[civicrm-core.git] / api / v3 / PaymentProcessorType.php
index 1a22d7855ad2cad983697aaec2908c9159b9c7c9..eb8d57f4fabbda173e22b7af71f5444d0f0542e3 100644 (file)
@@ -1,5 +1,4 @@
 <?php
-// $Id$
 
 /*
  +--------------------------------------------------------------------+
@@ -41,7 +40,6 @@
 /**
  * Include common API util functions
  */
-require_once 'CRM/Financial/BAO/PaymentProcessorType.php';
 
 /**
  * Function to create payment_processor type
@@ -54,8 +52,6 @@ require_once 'CRM/Financial/BAO/PaymentProcessorType.php';
  * {@schema Core/PaymentProcessorType.xml}
  */
 function civicrm_api3_payment_processor_type_create($params) {
-  require_once 'CRM/Utils/Rule.php';
-
   $ids = array();
   if (isset($params['id']) && !CRM_Utils_Rule::integer($params['id'])) {
     return civicrm_api3_create_error('Invalid value for payment_processor type ID');
@@ -109,8 +105,6 @@ function civicrm_api3_payment_processor_type_get($params) {
  * @access public
  */
 function civicrm_api3_payment_processor_type_delete($params) {
-
-  require_once 'CRM/Utils/Rule.php';
   if ($params['id'] != NULL && !CRM_Utils_Rule::integer($params['id'])) {
     return civicrm_api3_create_error('Invalid value for payment processor type ID');
   }