]> git.ipfire.org Git - thirdparty/bugzilla.git/commitdiff
Bug 1020023: update a user's last-visited timestamp for a bug when they perform any...
authorByron Jones <glob@mozilla.com>
Thu, 5 Jun 2014 04:35:04 +0000 (12:35 +0800)
committerByron Jones <glob@mozilla.com>
Thu, 5 Jun 2014 04:35:04 +0000 (12:35 +0800)
r=dkl,a=glob

Bugzilla/Bug.pm

index 9fa40d10bceaf54a28e2caf02dd6433951cf23bb..d10fbdfd76b02ae84dd88393299c5cb1d308f6d0 100644 (file)
@@ -1047,6 +1047,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;