summaryrefslogtreecommitdiff
path: root/perl-lib
diff options
context:
space:
mode:
authorRobert Haas2009-07-13 02:49:00 +0000
committerRobert Haas2009-07-13 04:37:09 +0000
commit71efbf6f830a5d19545f01e93e7c374915e7b47b (patch)
tree38fdda64b34a241689a73c9e93f064d11a40ec44 /perl-lib
parentca339f3ffe2cb51e6d8a8f3419f0c9e5733943c0 (diff)
Basic activity log for changes to patch comment table.
Diffstat (limited to 'perl-lib')
-rw-r--r--perl-lib/PgCommitFest/PatchComment.pm2
1 files changed, 2 insertions, 0 deletions
diff --git a/perl-lib/PgCommitFest/PatchComment.pm b/perl-lib/PgCommitFest/PatchComment.pm
index ccc804c..e3993fa 100644
--- a/perl-lib/PgCommitFest/PatchComment.pm
+++ b/perl-lib/PgCommitFest/PatchComment.pm
@@ -81,6 +81,8 @@ EOM
# Handle commit.
if ($r->cgi('go') && ! $r->is_error()) {
+ $value{'last_updated_time'} = \'now()';
+ $value{'last_updater'} = $aa->{'userid'};
if (defined $id) {
$r->db->update('patch_comment', { 'id' => $id }, \%value);
}