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
@@ -52,7 +52,7 @@ if ($editorform->is_cancelled()) {
// Trigger event.
\core\event\user_updated::create_from_userid($user->id)->trigger();
redirect($redirect);
redirect($redirect, get_string('changessaved'), null, \core\output\notification::NOTIFY_SUCCESS);
}
// Display page header.