From 48d745bf77a6fb39ec45d3b7c09a863a6b0ffcbf Mon Sep 17 00:00:00 2001 From: drigato Date: Thu, 30 Jul 2015 13:37:15 -0400 Subject: [PATCH] Hide Awesome August 2015 promo plans from billing page --- airtime_mvc/application/common/Billing.php | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/airtime_mvc/application/common/Billing.php b/airtime_mvc/application/common/Billing.php index fa716f6d1..12ea8c6e2 100644 --- a/airtime_mvc/application/common/Billing.php +++ b/airtime_mvc/application/common/Billing.php @@ -55,8 +55,7 @@ class Billing //Blacklist all free plans foreach ($products as $k => $p) { - Logging::info($p); - if ($p["paytype"] === "free") + if ($p["paytype"] === "free" || strpos($p["name"], "Awesome August 2015") !== false) { unset($products[$k]); }