mirror of
https://github.com/moodle/moodle.git
synced 2025-01-22 16:18:24 +01:00
Modified the log of the "change password" action to encode the userid in the
info field, instead of the courseid. To be consistent with another user actions (view...). I suppose that this is the propper way.
This commit is contained in:
parent
27f2c52057
commit
526234384c
@ -45,7 +45,7 @@
|
||||
$strpasswordchanged = get_string("passwordchanged");
|
||||
|
||||
if ($course->id) {
|
||||
add_to_log($course->id, "user", "change password", "view.php?id=$user->id&course=$course->id", "$course->id");
|
||||
add_to_log($course->id, "user", "change password", "view.php?id=$user->id&course=$course->id", "$user->id");
|
||||
$fullname = fullname($USER, true);
|
||||
print_header($strpasswordchanged, $strpasswordchanged,
|
||||
"<A HREF=\"$CFG->wwwroot/course/view.php?id=$course->id\">$course->shortname</A> ->
|
||||
|
Loading…
x
Reference in New Issue
Block a user