]> git.mjollnir.org Git - moodle.git/commitdiff
fixed whitespace and merged whitespace fixes from MOODLE_16_STABLE
authorskodak <skodak>
Fri, 2 Jun 2006 16:46:39 +0000 (16:46 +0000)
committerskodak <skodak>
Fri, 2 Jun 2006 16:46:39 +0000 (16:46 +0000)
auth/shibboleth/lib.php

index 62d9bd02c26565f3c3b371a5ff4be35693ad438a..b63e2615b8b44b05ec1bf6da6553bc84cce07c7a 100755 (executable)
@@ -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;
+
 }
 ?>