Bug 534514 - Remove redirect cookies
Signed-off-by: Eric Poirier <eric.poirier@eclipse-foundation.org>
diff --git a/index.php b/index.php
index aa96a0d..e809a36 100644
--- a/index.php
+++ b/index.php
@@ -16,18 +16,6 @@
$App = new App();
$Theme = $App->getThemeClass();
-#redirect the user if he already saw the luna landing page
-$uri = explode("/", $_SERVER['REQUEST_URI']);
-if (strtolower($uri[1]) != 'mars') {
- if (!isset($_COOKIE['eclipse_mars'])){
- setcookie('eclipse_mars', 'eclipse_mars', time()+3600*24*365, "/", ".eclipse.org");
- }
- else {
- header('Location: /home/index.php', TRUE, 302);
- exit();
- }
-}
-
$pageTitle = "Mars Eclipse";
$Theme->setPageTitle($pageTitle);
$Theme->setPageKeywords("eclipse Mars, release, simultaneous, release train, mars");