]> git.mjollnir.org Git - moodle.git/commitdiff
Modified the log of the "change password" action to encode the userid in the
authorstronk7 <stronk7>
Sat, 21 Feb 2004 01:24:07 +0000 (01:24 +0000)
committerstronk7 <stronk7>
Sat, 21 Feb 2004 01:24:07 +0000 (01:24 +0000)
info field, instead of the courseid. To be consistent with another user
actions (view...). I suppose that this is the propper way.

login/change_password.php

index 0089ea16d1d2655b46a8a70aef3b841c19d274d1..b31e8b4b859d00831c5e434623dce7f7b682e4c8 100644 (file)
@@ -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> ->