diff options
author | Robert Haas | 2009-07-13 02:49:00 +0000 |
---|---|---|
committer | Robert Haas | 2009-07-13 04:37:09 +0000 |
commit | 71efbf6f830a5d19545f01e93e7c374915e7b47b (patch) | |
tree | 38fdda64b34a241689a73c9e93f064d11a40ec44 /perl-lib | |
parent | ca339f3ffe2cb51e6d8a8f3419f0c9e5733943c0 (diff) |
Basic activity log for changes to patch comment table.
Diffstat (limited to 'perl-lib')
-rw-r--r-- | perl-lib/PgCommitFest/PatchComment.pm | 2 |
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); } |