proper logging

This commit is contained in:
Shish
2009-12-30 07:59:40 +00:00
parent 96c3cf73e5
commit 694200d9f8
11 changed files with 117 additions and 21 deletions

View File

@@ -444,7 +444,7 @@ class CommentList extends SimpleExtension {
"VALUES(?, ?, ?, now(), ?)",
array($image_id, $user->id, $_SERVER['REMOTE_ADDR'], $comment));
$cid = $database->db->Insert_ID();
log_info("comment", "Comment #$cid added");
log_info("comment", "Comment #$cid added to Image #$image_id");
}
}
// }}}