Proyectos de Subversion Moodle

Rev

| Ultima modificación | Ver Log |

Rev Autor Línea Nro. Línea
1441 ariadna 1
# core_role (subsystem) Upgrade notes
2
 
3
## 4.5
4
 
5
### Added
6
 
7
- All session management has been moved to the `\core\session\manager` class.
8
  This removes the dependancy to use the `sessions` table.
9
 
10
  Session management plugins (like Redis) should now inherit
11
  the base `\core\session\handler` class, which implements
12
  `SessionHandlerInterface`, and override methods as required.
13
 
14
  The following methods in `\core\session\manager` have been deprecated:
15
  | Old method name                  | New method name           |
16
  | ---                              | ---                       |
17
  | `kill_all_sessions`              | `destroy_all`             |
18
  | `kill_session`                   | `destroy`                 |
19
  | `kill_sessions_for_auth_plugin`  | `destroy_by_auth_plugin`  |
20
  | `kill_user_sessions`             | `destroy_user_sessions`   |
21
 
22
  For more information see [MDL-66151](https://tracker.moodle.org/browse/MDL-66151)