From 115938af04a3c1818a02a664c7eb7eb02ffa40e0 Mon Sep 17 00:00:00 2001 From: skodak Date: Fri, 2 Jun 2006 16:46:39 +0000 Subject: [PATCH] fixed whitespace and merged whitespace fixes from MOODLE_16_STABLE --- auth/shibboleth/lib.php | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/auth/shibboleth/lib.php b/auth/shibboleth/lib.php index 62d9bd02c2..b63e2615b8 100755 --- a/auth/shibboleth/lib.php +++ b/auth/shibboleth/lib.php @@ -69,7 +69,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; @@ -86,16 +86,16 @@ function auth_shib_attributes(){ } $moodleattributes['username']=$pluginconfig["shib_user_attribute"]; - return $moodleattributes; + return $moodleattributes; } function get_first_string($string){ // Cleans and returns first of potential many values (multi-valued attributes) - - $list = split( ';', $string); - $clean_string = rtrim($list[0]); - - return $clean_string; - + + $list = split( ';', $string); + $clean_string = rtrim($list[0]); + + return $clean_string; + } ?> -- 2.39.5