From 66aaf4f069b22d1f7819bca18644c805c00aa7b5 Mon Sep 17 00:00:00 2001
From: Olav Morken <olav.morken@uninett.no>
Date: Tue, 13 May 2008 12:39:14 +0000
Subject: [PATCH] Removed forgotten debug messages.

git-svn-id: https://simplesamlphp.googlecode.com/svn/trunk@544 44740490-163a-0410-bde0-09ae8108e29a
---
 www/saml2/sp/SingleLogoutService.php | 2 --
 www/saml2/sp/initSLO.php             | 1 -
 2 files changed, 3 deletions(-)

diff --git a/www/saml2/sp/SingleLogoutService.php b/www/saml2/sp/SingleLogoutService.php
index 44b010183..dc4ff7225 100644
--- a/www/saml2/sp/SingleLogoutService.php
+++ b/www/saml2/sp/SingleLogoutService.php
@@ -107,9 +107,7 @@ if (isset($_GET['SAMLRequest'])) {
 	SimpleSAML_Logger::stats('saml20-sp-SLO spinit ' . $requester . ' ' . $responder);
 
 	$id = $logoutresponse->getInResponseTo();
-	error_log('ID: ' . strlen($id) . ':' . $id);
 	$returnTo = $session->getData('spLogoutReturnTo', $id);
-	error_log("returnTo: " . var_export($returnTo, TRUE));
 
 	if(empty($returnTo)) {
 		SimpleSAML_Utilities::fatalError($session->getTrackID(), 'NORELAYSTATE');
diff --git a/www/saml2/sp/initSLO.php b/www/saml2/sp/initSLO.php
index 238dd7a8e..2c752c93e 100644
--- a/www/saml2/sp/initSLO.php
+++ b/www/saml2/sp/initSLO.php
@@ -44,7 +44,6 @@ if (isset($session) ) {
 
 		/* Save the $returnTo url until the user returns from the IdP. */
 		$session->setData('spLogoutReturnTo', $lr->getGeneratedID(), 15*60, $returnTo);
-		error_log('Saved: "' . $lr->getGeneratedID() . '" => "' . $returnTo . '"');
 		
 		$httpredirect = new SimpleSAML_Bindings_SAML20_HTTPRedirect($config, $metadata);
 		
-- 
GitLab