From d42f9ea8301928a87a8f2203942b433ff7410cef Mon Sep 17 00:00:00 2001
From: Tim van Dijen <tvdijen@gmail.com>
Date: Thu, 28 Dec 2017 18:29:00 +0100
Subject: [PATCH] saml: remove unused code

---
 modules/saml/lib/Auth/Source/SP.php | 2 --
 1 file changed, 2 deletions(-)

diff --git a/modules/saml/lib/Auth/Source/SP.php b/modules/saml/lib/Auth/Source/SP.php
index c379c99c8..9c633cc49 100644
--- a/modules/saml/lib/Auth/Source/SP.php
+++ b/modules/saml/lib/Auth/Source/SP.php
@@ -351,8 +351,6 @@ class sspmod_saml_Auth_Source_SP extends SimpleSAML_Auth_Source {
 
 		$id = SimpleSAML_Auth_State::saveState($state, 'saml:sp:sso');
 
-		$config = SimpleSAML_Configuration::getInstance();
-
 		$discoURL = $this->discoURL;
 		if ($discoURL === NULL) {
 			/* Fallback to internal discovery service. */
-- 
GitLab