From 97384adc32c5da9623d9e9e11f32a92ab9f3d953 Mon Sep 17 00:00:00 2001 From: Dylan William Hardison Date: Wed, 10 Sep 2014 23:28:42 +0800 Subject: Bug 1053513: remove last-visited entries when a user removes involvement from a bug (fixed) --- Bugzilla/Bug.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Bugzilla/Bug.pm') diff --git a/Bugzilla/Bug.pm b/Bugzilla/Bug.pm index 0c2f659c5..962c3f36f 100644 --- a/Bugzilla/Bug.pm +++ b/Bugzilla/Bug.pm @@ -1125,7 +1125,7 @@ sub update { # If a user is no longer involved, remove their last visit entry my $last_visits = Bugzilla::BugUserLastVisit->match({bug_id => $self->id}); foreach my $lv (@$last_visits) { - $lv->remove_from_db() unless $lv->user->is_involved_with_bug($self); + $lv->remove_from_db() unless $lv->user->is_involved_in_bug($self); } # Update bug ignore data if user wants to ignore mail for this bug -- cgit v1.2.3-24-g4f1b