Permalink
Browse files

MDL-16061 Remove 'username' from the $moodleattributes array.

It doesn't make sense at all (username is not part of the externally mapped
fields) and produces a notice that breaks HTTP headers with debugging enabled.
  • Loading branch information...
iarenaza
iarenaza committed Aug 15, 2008
1 parent 865d83b commit 1e6da87629605915c4a3ce69af50ed4f5fe58687
Showing with 0 additions and 4 deletions.
  1. +0 −1 auth/cas/auth.php
  2. +0 −1 auth/db/auth.php
  3. +0 −1 auth/ldap/auth.php
  4. +0 −1 auth/shibboleth/auth.php
View
@@ -496,7 +496,6 @@ function ldap_attributes () {
}
}
}
- $moodleattributes['username'] = $this->config->user_attribute;
return $moodleattributes;
}
/**
View
@@ -138,7 +138,6 @@ function db_attributes() {
$moodleattributes[$field] = $this->config->{"field_map_$field"};
}
}
- $moodleattributes['username'] = $this->config->fielduser;
return $moodleattributes;
}
View
@@ -1660,7 +1660,6 @@ function ldap_attributes () {
}
}
}
- $moodleattributes['username'] = $this->config->user_attribute;
return $moodleattributes;
}
View
@@ -129,7 +129,6 @@ function get_attributes() {
$moodleattributes[$field] = $configarray["field_map_$field"];
}
}
- $moodleattributes['username'] = $configarray["user_attribute"];
return $moodleattributes;
}

0 comments on commit 1e6da87

Please sign in to comment.