From c426bcb4520c93e6011a37eeb5f76ea1190bad41 Mon Sep 17 00:00:00 2001
From: Olav Morken <olav.morken@uninett.no>
Date: Tue, 18 Dec 2007 13:09:13 +0000
Subject: [PATCH] SAML2:SingleLogoutService - Move debug dump of sp session
 further down in the code.

git-svn-id: https://simplesamlphp.googlecode.com/svn/trunk@125 44740490-163a-0410-bde0-09ae8108e29a
---
 www/saml2/idp/SingleLogoutService.php | 7 +++++--
 1 file changed, 5 insertions(+), 2 deletions(-)

diff --git a/www/saml2/idp/SingleLogoutService.php b/www/saml2/idp/SingleLogoutService.php
index f1e53e7bd..07723ee2d 100644
--- a/www/saml2/idp/SingleLogoutService.php
+++ b/www/saml2/idp/SingleLogoutService.php
@@ -21,8 +21,6 @@ $idpentityid = $metadata->getMetaDataCurrentEntityID('saml20-idp-hosted');
 
 $session = SimpleSAML_Session::getInstance();
 
-$session->dump_sp_sessions();
-
 /*
  * If we get an LogoutRequest then we initiate the logout process.
  */
@@ -56,6 +54,11 @@ if (isset($_GET['SAMLRequest'])) {
 	error_log('IdP LogoutService: got LogoutResponse from ' . $loginresponse->getIssuer() . '  ');
 }
 
+
+/* Dump the current sessions (for debugging). */
+$session->dump_sp_sessions();
+
+
 /*
  * We proceed to send logout requests to all remaining SPs.
  */
-- 
GitLab