MDL-51287 Profile: Should notify users that changes are saved
This commit is contained in:
+1
-1
@@ -299,7 +299,7 @@ if ($userform->is_cancelled()) {
|
||||
}
|
||||
|
||||
if (!$emailchanged || !$CFG->emailchangeconfirmation) {
|
||||
redirect($returnurl);
|
||||
redirect($returnurl, get_string('changessaved'), null, \core\output\notification::NOTIFY_SUCCESS);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user