Merge pull request #12354 from totten/master-cache-b64
[civicrm-core.git] / CRM / Core / Payment / PayJunction.php
index 2b14306c6dcc52203b2db4d429cb7eef773a6b6d..3b70daea06501af70b30de53a1a90f0f8da80f88 100644 (file)
  *
  * @package CRM
  * @author Michael Morris and Gene Chi @ Phase2 Technology <mmorris@phase2technology.com>
- * $Id$
- *
+ */
+require_once 'PayJunction/pjClasses.php';
+
+/**
+ * Class CRM_Core_Payment_PayJunction.
  */
 class CRM_Core_Payment_PayJunction extends CRM_Core_Payment {
   # (not used, implicit in the API, might need to convert?)
@@ -38,9 +41,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');