Proyectos de Subversion Moodle

Rev

| Ultima modificación | Ver Log |

Rev Autor Línea Nro. Línea
1441 ariadna 1
# core_user (subsystem) Upgrade notes
2
 
3
## 5.0.1
4
 
5
### Added
6
 
7
- New method `\core_user::get_dummy_fullname(...)` for returning dummy user fullname comprised of configured name fields only
8
 
9
  For more information see [MDL-82132](https://tracker.moodle.org/browse/MDL-82132)
10
 
11
## 5.0
12
 
13
### Removed
14
 
15
- Final removal of the following user preference helpers, please use the `core_user/repository` module instead:
16
 
17
  - `user_preference_allow_ajax_update`
18
  - `M.util.set_user_preference`
19
  - `lib/ajax/setuserpref.php`
20
 
21
  For more information see [MDL-79124](https://tracker.moodle.org/browse/MDL-79124)
22
 
23
## 4.5
24
 
25
### Added
26
 
27
- New `\core_user\hook\extend_user_menu` hook added to allow third party plugins to extend the user menu navigation.
28
 
29
  For more information see [MDL-71823](https://tracker.moodle.org/browse/MDL-71823)
30
- A new hook, `\core_user\hook\extend_default_homepage`, has been added to allow third-party plugins to extend the default homepage options for the site.
31
 
32
  For more information see [MDL-82066](https://tracker.moodle.org/browse/MDL-82066)
33
 
34
### Changed
35
 
36
- The visibility of the following methods have been increased to public:
37
  - `\core_user\form\private_files::check_access_for_dynamic_submission()`
38
  - `\core_user\form\private_files::get_options()`
39
 
40
  For more information see [MDL-78293](https://tracker.moodle.org/browse/MDL-78293)
41
- The user profile field `\profile_field_base::display_name()` method now accepts an optional `$escape` parameter to define whether to escape the returned name.
42
 
43
  For more information see [MDL-82494](https://tracker.moodle.org/browse/MDL-82494)
44
 
45
### Deprecated
46
 
47
- The `\core_user\table\participants_search::get_total_participants_count()` is no longer used since the total count can be obtained from `\core_user\table\participants_search::get_participants()`.
48
 
49
  For more information see [MDL-78030](https://tracker.moodle.org/browse/MDL-78030)