From 3745724f2902d161063f121b77d0b7e2a856df75 Mon Sep 17 00:00:00 2001 From: Matthew Wire Date: Tue, 25 May 2021 16:17:38 +0100 Subject: [PATCH] Remove unused functions from payJunction --- CRM/Core/Payment/PayJunction.php | 37 -------------------------------- 1 file changed, 37 deletions(-) diff --git a/CRM/Core/Payment/PayJunction.php b/CRM/Core/Payment/PayJunction.php index 21e7ae1b90..0d67cfb032 100644 --- a/CRM/Core/Payment/PayJunction.php +++ b/CRM/Core/Payment/PayJunction.php @@ -188,43 +188,6 @@ class CRM_Core_Payment_PayJunction extends CRM_Core_Payment { return FALSE; } return TRUE; - - } - - /** - * Get the value of a field if set. - * - * @param string $field - * The field. - * - * @return mixed - * value of the field, or empty string if the field is - * not set - */ - public function _getParam($field) { - if (isset($this->_params[$field])) { - return $this->_params[$field]; - } - return ''; - } - - /** - * Set a field to the specified value. Value must be a scalar (int, - * float, string, or boolean) - * - * @param string $field - * @param mixed $value - * - * @return bool - * false if value is not a scalar, true if successful - */ - public function _setParam($field, $value) { - if (!is_scalar($value)) { - return FALSE; - } - else { - $this->_params[$field] = $value; - } } /** -- 2.25.1