mirror of
https://github.com/moodle/moodle.git
synced 2025-04-21 00:12:56 +02:00
Merge branch 'MDL-75826-401' of https://github.com/meirzamoodle/moodle into MOODLE_401_STABLE
This commit is contained in:
commit
b00f1464a8
@ -311,6 +311,9 @@ if ($userform->is_cancelled()) {
|
||||
} else {
|
||||
redirect($returnurl, get_string('changessaved'), null, \core\output\notification::NOTIFY_SUCCESS);
|
||||
}
|
||||
} else if ($returnto === 'profile') {
|
||||
\core\session\manager::gc(); // Remove stale sessions.
|
||||
redirect($returnurl, get_string('changessaved'), null, \core\output\notification::NOTIFY_SUCCESS);
|
||||
} else {
|
||||
\core\session\manager::gc(); // Remove stale sessions.
|
||||
redirect("$CFG->wwwroot/$CFG->admin/user.php", get_string('changessaved'), null, \core\output\notification::NOTIFY_SUCCESS);
|
||||
|
Loading…
x
Reference in New Issue
Block a user