From 5efae07f346a9616abc0b170988cf5afebcb4641 Mon Sep 17 00:00:00 2001 From: Lisa Marie Maginnis Date: Thu, 8 May 2014 12:39:32 -0400 Subject: [PATCH] Changed function names for less typing. --- trustcommerce.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/trustcommerce.php b/trustcommerce.php index 48ec237..4651a9f 100644 --- a/trustcommerce.php +++ b/trustcommerce.php @@ -124,7 +124,7 @@ class org_fsf_payment_trustcommerce extends CRM_Core_Payment { $reply = tclink_send($tc_params); /* Parse our reply */ - $result = $this->_getTrustCommerceReply($reply); + $result = $this->_getTCReply($reply); if($result == 0) { /* We were successful, congrats. Lets wrap it up: @@ -185,7 +185,7 @@ class org_fsf_payment_trustcommerce extends CRM_Core_Payment { * @param $reply array The result of a call to tclink_send(). * @return mixed self::error() if transaction failed, otherwise returns 0. */ - function _getTrustCommerceReply($reply) { + function _getTCReply($reply) { /* DUPLIATE CODE, please refactor. ~lisa */ if (!$reply) { -- 2.25.1