diff options
author | Byron Jones <glob@mozilla.com> | 2014-06-06 06:15:51 +0200 |
---|---|---|
committer | Byron Jones <glob@mozilla.com> | 2014-06-06 06:15:51 +0200 |
commit | e33a04dd4ef4399d00c32a0059aed2e210b3f1a6 (patch) | |
tree | 0e0cfcc0d96612f8f725fcfe9587b02d525bbe32 /Bugzilla | |
parent | 685776f18291c4c0ee0ce729318b36d025be55f4 (diff) | |
download | bugzilla-e33a04dd4ef4399d00c32a0059aed2e210b3f1a6.tar.gz bugzilla-e33a04dd4ef4399d00c32a0059aed2e210b3f1a6.tar.xz |
Bug 1020023: update a user's last-visited timestamp for a bug when they perform any actions on it
Diffstat (limited to 'Bugzilla')
-rw-r--r-- | Bugzilla/Bug.pm | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/Bugzilla/Bug.pm b/Bugzilla/Bug.pm index fe259be27..7eaff06a2 100644 --- a/Bugzilla/Bug.pm +++ b/Bugzilla/Bug.pm @@ -1064,6 +1064,11 @@ sub update { $self->{delta_ts} = $delta_ts; } + # Update last-visited + if ($user->is_involved_in_bug($self)) { + $self->update_user_last_visit($user, $delta_ts); + } + # Update bug ignore data if user wants to ignore mail for this bug if (exists $self->{'bug_ignored'}) { my $bug_ignored_changed; |