From 47e6879766f1c20dd648e656c7fc58b822c4fba7 Mon Sep 17 00:00:00 2001 From: Albert Santoni Date: Fri, 6 Mar 2015 11:18:48 -0500 Subject: [PATCH] Fixed Billing.php again --- airtime_mvc/application/common/Billing.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/airtime_mvc/application/common/Billing.php b/airtime_mvc/application/common/Billing.php index 2cfdbdb24..fa716f6d1 100644 --- a/airtime_mvc/application/common/Billing.php +++ b/airtime_mvc/application/common/Billing.php @@ -14,8 +14,8 @@ class Billing /** Get the Airtime instance ID of the instance the customer is currently viewing. */ public static function getClientInstanceId() { - $currentProduct = Billing::getClientCurrentAirtimeProduct(); - return $currentProduct["id"]; + //$currentProduct = Billing::getClientCurrentAirtimeProduct(); + //return $currentProduct["id"]; //XXX: Major hack attack. Since this function gets called often, rather than querying WHMCS // we're just going to extract it from airtime.conf since it's the same as the rabbitmq username. $CC_CONFIG = Config::getConfig();