summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDylan William Hardison <dylan@mozilla.com>2014-09-10 17:28:42 +0200
committerByron Jones <glob@mozilla.com>2014-09-10 17:28:42 +0200
commit97384adc32c5da9623d9e9e11f32a92ab9f3d953 (patch)
treea58de7267769dc71202d7ecc41d13fa5128becd3
parent0626dcb56ab482ac4388e3aa676442c9a9993670 (diff)
downloadbugzilla-97384adc32c5da9623d9e9e11f32a92ab9f3d953.tar.gz
bugzilla-97384adc32c5da9623d9e9e11f32a92ab9f3d953.tar.xz
Bug 1053513: remove last-visited entries when a user removes involvement from a bug (fixed)
-rw-r--r--Bugzilla/Bug.pm2
1 files changed, 1 insertions, 1 deletions
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