From e89b8484a50afed7e386f7f96b2143d95591afbb Mon Sep 17 00:00:00 2001
From: Thijs Kinkhorst <thijs@kinkhorst.com>
Date: Fri, 3 Sep 2021 13:09:56 +0000
Subject: [PATCH] Moved external module specific override into that module's
 docs

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

diff --git a/modules/saml/lib/Auth/Source/SP.php b/modules/saml/lib/Auth/Source/SP.php
index 41412c4df..94f67f8f5 100644
--- a/modules/saml/lib/Auth/Source/SP.php
+++ b/modules/saml/lib/Auth/Source/SP.php
@@ -94,10 +94,6 @@ class SP extends \SimpleSAML\Auth\Source
         $this->idp = $this->metadata->getString('idp', null);
         $this->discoURL = $this->metadata->getString('discoURL', null);
         $this->disable_scoping = $this->metadata->getBoolean('disable_scoping', false);
-
-        if (empty($this->discoURL) && Module::isModuleEnabled('discojuice')) {
-            $this->discoURL = Module::getModuleURL('discojuice/central.php');
-        }
     }
 
 
-- 
GitLab