From 61735f8eb116d066aab5b036b94170c18ad7e946 Mon Sep 17 00:00:00 2001
From: Jaime Perez Crespo <jaime.perez@uninett.no>
Date: Thu, 18 Feb 2016 15:56:31 +0100
Subject: [PATCH] Capitalize the "Module" namespace for modules.

---
 lib/_autoload_modules.php | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lib/_autoload_modules.php b/lib/_autoload_modules.php
index 9a6d5f6c6..773e5e1f3 100644
--- a/lib/_autoload_modules.php
+++ b/lib/_autoload_modules.php
@@ -54,7 +54,7 @@ function SimpleSAML_autoload_psr4($className)
     if (array_shift($elements) !== 'SimpleSAML') {
         return; // the first element is not "SimpleSAML"
     }
-    if (array_shift($elements) !== 'module') {
+    if (array_shift($elements) !== 'Module') {
         return; // the second element is not "module"
     }
 
-- 
GitLab