From 2637bd9b4cbdbbd5febdd19ec7fb43bedd792748 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andreas=20=C3=85kre=20Solberg?= <andreas.solberg@uninett.no>
Date: Thu, 24 Sep 2009 09:29:41 +0000
Subject: [PATCH] Removed some test code from WAYF that probably was committed
 by a mistake...

git-svn-id: https://simplesamlphp.googlecode.com/svn/trunk@1780 44740490-163a-0410-bde0-09ae8108e29a
---
 www/saml2/idp/SSOService.php | 9 ---------
 1 file changed, 9 deletions(-)

diff --git a/www/saml2/idp/SSOService.php b/www/saml2/idp/SSOService.php
index 5c8883ca3..5ade30fd6 100644
--- a/www/saml2/idp/SSOService.php
+++ b/www/saml2/idp/SSOService.php
@@ -414,16 +414,7 @@ if($needAuth && !$isPassive) {
 		}
 
 		$attributes = $authProcState['Attributes'];
-
 		
-		$host = SimpleSAML_Utilities::getSelfHost();;
-		preg_match("/^(\w+)/", $host, $d);
-		if ($d[1] && $d[1] != 'wayf') {
-			setcookie($d[1], "ok", 0, "/", ".wayf.ruc.dk");
-			setcookie('current', $d[1], 0, "/", ".wayf.ruc.dk");
-		}
-
-
 
 		/*
 		 * Save the time we authenticated to this SP. This can be used later to detect an
-- 
GitLab