-
Bug
-
Resolution: Fixed
-
Minor
-
3.11, 4.0
-
MOODLE_311_STABLE, MOODLE_400_STABLE
-
MOODLE_311_STABLE
-
MDL-71215-master -
Eloy found some uses still in Moodle of the functions that were now deprecated as a result of MDL-45242. These should be fixed to use the new APIs so that we don't have any calls to the deprecated functions (outside of tests etc).
$ ag \
|
'get_extra_user_fields|get_user_field_name|get_all_user_name_fields|user_picture::fields' \
|
--ignore='*tests*' --ignore=upgrade.txt --ignore=deprecatedlib.php --ignore=lib/outputcomponents.php
|
enrol/locallib.php
|
1229: * @param array $extrafields The list of fields as returned from get_extra_user_fields used to determine which
|
|
webservice/renderer.php
|
109: $extrafields = get_extra_user_fields(context_system::instance());
|
|
webservice/lib.php
|
291: $namefields = get_all_user_name_fields(true, 'u');
|
293: foreach (get_extra_user_fields(context_system::instance()) as $extrafield) {
|
|
lib/datalib.php
|
308: * - those returned by get_extra_user_fields
|
337: * @param context $context the context we are in. Use by get_extra_user_fields.
|
|
mod/quiz/report/overview/report.php
|
485: * table, with the get_all_user_name_fields from the user table joined in.
|
- has a non-specific relationship to
-
MDL-71099 Move user_fields from core to core_user
- Closed
- has been marked as being related by
-
MDL-71272 Acceptance test: Missing Behat test for webservice service_users page
- Closed
- is a regression caused by
-
MDL-45242 Allow user profile fields to be specified as user identity fields
- Closed