From 9f9eb9068287dca04d4e405423a513fc03cb46a4 Mon Sep 17 00:00:00 2001 From: eileen Date: Sat, 14 May 2016 05:42:31 +1200 Subject: [PATCH] CRM-18176 payjunction error on events --- CRM/Core/Payment/PayJunction.php | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) 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'); -- 2.25.1