mirror of
https://github.com/moodle/moodle.git
synced 2025-01-18 05:58:34 +01:00
MDL-66471 user: fix user_selector debug about extra identity fields.
This commit is contained in:
parent
d85118369d
commit
be60a5d096
@ -327,7 +327,9 @@ abstract class user_selector_base {
|
||||
* @param array $fields a list of field names that exist in the user table.
|
||||
*/
|
||||
public function set_extra_fields($fields) {
|
||||
$this->extrafields = $fields;
|
||||
debugging('The user_selector classes do not support custom list of extra identity fields any more. '.
|
||||
'Instead, the user identity fields defined by the site administrator will be used to respect '.
|
||||
'the configured privacy setting.', DEBUG_DEVELOPER);
|
||||
}
|
||||
|
||||
/**
|
||||
@ -370,7 +372,6 @@ abstract class user_selector_base {
|
||||
'class' => get_class($this),
|
||||
'name' => $this->name,
|
||||
'exclude' => $this->exclude,
|
||||
'extrafields' => $this->extrafields,
|
||||
'multiselect' => $this->multiselect,
|
||||
'accesscontext' => $this->accesscontext,
|
||||
);
|
||||
|
Loading…
x
Reference in New Issue
Block a user