Updated to use new logging format.

This commit is contained in:
martin
2002-05-31 09:15:36 +00:00
parent 9d99fef442
commit da3a08d7ee
3 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -100,7 +100,7 @@
$usernew->timemodified = time();
if (update_record("user", $usernew)) {
add_to_log("Updated own profile", $course->id);
add_to_log($course->id, "user", "update", "view.php?user=$user->id&course=$course->id", "");
redirect("view.php?id=$user->id&course=$course->id", "Changes saved");
} else {
error("Could not update the user record ($user->id)");
+1 -1
View File
@@ -13,7 +13,7 @@
require_login($course->id);
add_to_log("View list of all profiles", $course->id);
add_to_log($course->id, "user", "view all", "index.php?id=$course->id", "");
if ($course->category) {
print_header("$course->shortname: Participants", "$course->fullname",
+1 -1
View File
@@ -23,7 +23,7 @@
$fullname = "$user->firstname $user->lastname";
add_to_log("View profile: $fullname", $course);
add_to_log($course->id, "user", "view", "view.php?id=$user->id&course=$course->id", "$user->id");
if ($course->category) {
print_header("Personal profile: $fullname", "Personal profile: $fullname",