From: eileen Date: Fri, 13 May 2016 17:42:31 +0000 (+1200) Subject: CRM-18176 payjunction error on events X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=9f9eb9068287dca04d4e405423a513fc03cb46a4;p=civicrm-core.git CRM-18176 payjunction error on events --- diff --git a/CRM/Core/Payment/PayJunction.php b/CRM/Core/Payment/PayJunction.php index 2b14306c6d..81b113b1f5 100644 --- a/CRM/Core/Payment/PayJunction.php +++ b/CRM/Core/Payment/PayJunction.php @@ -15,6 +15,8 @@ * $Id$ * */ +require_once 'PayJunction/pjClasses.php'; + class CRM_Core_Payment_PayJunction extends CRM_Core_Payment { # (not used, implicit in the API, might need to convert?) const CHARSET = 'UFT-8'; @@ -38,9 +40,6 @@ class CRM_Core_Payment_PayJunction extends CRM_Core_Payment { * @return \CRM_Core_Payment_PayJunction */ public function __construct($mode, &$paymentProcessor) { - //require PayJunction API library - require_once 'PayJunction/pjClasses.php'; - $this->_mode = $mode; $this->_paymentProcessor = $paymentProcessor; $this->_processorName = ts('PayJunction');