Back to Moodle

core_role (subsystem) Upgrade notes

public/admin/roles/UPGRADING.md

5.2.0939 B
Original Source

core_role (subsystem) Upgrade notes

4.5

Added

  • All session management has been moved to the \core\session\manager class. This removes the dependancy to use the sessions table.

    Session management plugins (like Redis) should now inherit the base \core\session\handler class, which implements SessionHandlerInterface, and override methods as required.

    The following methods in \core\session\manager have been deprecated:

    Old method nameNew method name
    kill_all_sessionsdestroy_all
    kill_sessiondestroy
    kill_sessions_for_auth_plugindestroy_by_auth_plugin
    kill_user_sessionsdestroy_user_sessions

    For more information see MDL-66151