Remove ECF and F4G from Foundation ads
Change-Id: I617b86a0aefff4588bc9df2b9c692c942940a9b4
Signed-off-by: Eric Poirier <eric.poirier@eclipse-foundation.org>
diff --git a/promo/promos.php b/promo/promos.php
index eac1436..875146c 100644
--- a/promo/promos.php
+++ b/promo/promos.php
@@ -217,85 +217,6 @@
$retVal = array();
- // Internal ads
- $current_time = time();
- $ec_weight = 12;
- // F4G2018 ad
- if ($current_time >= strtotime("2018/02/26") && $current_time < strtotime("2018/03/08")) {
- $retVal[] = array(
- 'memberName' => "Eclipsecon",
- 'type' => 'strat_ad',
- 'weight' => $ec_weight,
- 'imageurl' => "/membership/promo/images/F4G_200x200_square_register_early_red.png",
- 'url' => "PROMO_F4G2018",
- );
- }
- if ($current_time >= strtotime("2018/03/15") && $current_time < strtotime("2018/04/05")) {
- $retVal[] = array(
- 'memberName' => "Eclipsecon",
- 'type' => 'strat_ad',
- 'weight' => $ec_weight,
- 'imageurl' => "/membership/promo/images/F4G_200x200_square_register_now.png",
- 'url' => "PROMO_F4G2018",
- );
- }
- if ($current_time >= strtotime("2018/04/30") && $current_time < strtotime("2018/05/07")) {
- $retVal[] = array(
- 'memberName' => "Eclipsecon",
- 'type' => 'strat_ad',
- 'weight' => $ec_weight,
- 'imageurl' => "/membership/promo/images/F4G_200x200_square_2_weeks_red.png",
- 'url' => "PROMO_F4G2018",
- );
- }
- if ($current_time >= strtotime("2018/05/07") && $current_time < strtotime("2018/05/11")) {
- $retVal[] = array(
- 'memberName' => "Eclipsecon",
- 'type' => 'strat_ad',
- 'weight' => $ec_weight,
- 'imageurl' => "/membership/promo/images/F4G_200x200_square_1_week_red.png",
- 'url' => "PROMO_F4G2018",
- );
- }
-
- // ECF2018 ad
- if ($current_time >= strtotime("2018/04/16") && $current_time < strtotime("2018/04/30")) {
- $retVal[] = array(
- 'memberName' => "Eclipsecon",
- 'type' => 'strat_ad',
- 'weight' => $ec_weight,
- 'imageurl' => "/membership/promo/images/ECF_register-2018-Early-200.png",
- 'url' => "PROMO_ECF2018",
- );
- }
- if ($current_time >= strtotime("2018/05/14") && $current_time < strtotime("2018/05/30")) {
- $retVal[] = array(
- 'memberName' => "Eclipsecon",
- 'type' => 'strat_ad',
- 'weight' => $ec_weight,
- 'imageurl' => "/membership/promo/images/ECF_register-2018-Now-200.png",
- 'url' => "PROMO_ECF2018",
- );
- }
- if ($current_time >= strtotime("2018/05/30") && $current_time < strtotime("2018/06/06")) {
- $retVal[] = array(
- 'memberName' => "Eclipsecon",
- 'type' => 'strat_ad',
- 'weight' => $ec_weight,
- 'imageurl' => "/membership/promo/images/ECF_register-2018-Two-Weeks-200.png",
- 'url' => "PROMO_ECF2018",
- );
- }
- if ($current_time >= strtotime("2018/06/06") && $current_time < strtotime("2018/06/13")) {
- $retVal[] = array(
- 'memberName' => "Eclipsecon",
- 'type' => 'strat_ad',
- 'weight' => $ec_weight,
- 'imageurl' => "/membership/promo/images/ECF_register-2018-One-Week-200.png",
- 'url' => "PROMO_ECF2018",
- );
- }
-
return $retVal;
}