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.
}
}
}
- $moodleattributes['username'] = $this->config->user_attribute;
return $moodleattributes;
}
/**
$moodleattributes[$field] = $this->config->{"field_map_$field"};
}
}
- $moodleattributes['username'] = $this->config->fielduser;
return $moodleattributes;
}
}
}
}
- $moodleattributes['username'] = $this->config->user_attribute;
return $moodleattributes;
}
$moodleattributes[$field] = $configarray["field_map_$field"];
}
}
- $moodleattributes['username'] = $configarray["user_attribute"];
return $moodleattributes;
}