MDL-51287 Profile: Should notify users that changes are saved

This commit is contained in:
sangnguyen
2021-02-04 14:54:12 +07:00
parent 9dabd071fe
commit 1d50e833e0
8 changed files with 66 additions and 8 deletions
+1 -1
View File
@@ -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);
}
}