MDL-33504 css_optimiser: Added support for common media-queiries
[moodle.git] / auth / upgrade.txt
blob328307e02721f3b78d655a6bf6230fb19378bd06
1 This files describes API changes in /auth/* - plugins,
2 information provided here is intended especially for developers.
5 === 2.2 ===
7 required changes in code:
8 * the correct sequence to set up global $USER is:
9     $user = get_complete_user_data('username', $username); // or $user = authenticate_user_login()
10     enrol_check_plugins($user);
11     session_set_user($user);