diff --git a/auth/shibboleth/index.php b/auth/shibboleth/index.php index c8065e3b0a2..f85a6bb92a7 100644 --- a/auth/shibboleth/index.php +++ b/auth/shibboleth/index.php @@ -16,7 +16,7 @@ redirect($urltogo); } - + $pluginconfig = get_config('auth/shibboleth'); // Check whether Shibboleth is configured properly diff --git a/auth/shibboleth/lib.php b/auth/shibboleth/lib.php index 37f04b9e0f4..32450ca3455 100755 --- a/auth/shibboleth/lib.php +++ b/auth/shibboleth/lib.php @@ -65,7 +65,7 @@ function auth_get_userinfo($username) { function auth_shib_attributes(){ //returns array containg attribute mappings between Moodle and shibboleth - global $CFG; + global $CFG; $pluginconfig = get_config('auth/shibboleth'); $pluginconfig = (array) $pluginconfig; @@ -82,6 +82,6 @@ function auth_shib_attributes(){ } $moodleattributes['username']=$pluginconfig["shib_user_attribute"]; - return $moodleattributes; + return $moodleattributes; } ?>