From: Lisa Marie Maginnis Date: Thu, 8 May 2014 16:39:32 +0000 (-0400) Subject: Changed function names for less typing. X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=5efae07f346a9616abc0b170988cf5afebcb4641;p=trustcommerce.git Changed function names for less typing. --- 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) {