Hide Awesome August 2015 promo plans from billing page

This commit is contained in:
drigato 2015-07-30 13:37:15 -04:00
parent bda6a4585c
commit 48d745bf77
1 changed files with 1 additions and 2 deletions

View File

@ -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]);
}