summaryrefslogtreecommitdiffstats
path: root/extensions/Review
diff options
context:
space:
mode:
authorDylan William Hardison <dylan@hardison.net>2018-03-23 20:58:17 +0100
committerGitHub <noreply@github.com>2018-03-23 20:58:17 +0100
commit8c3378b021f646ca81a012888c5481b3f1681759 (patch)
tree06d5751f1f152a158fe3217769d670985eea1cbf /extensions/Review
parent7ed1891fb2b81514d090969aece07a8e0be894f1 (diff)
downloadbugzilla-8c3378b021f646ca81a012888c5481b3f1681759.tar.gz
bugzilla-8c3378b021f646ca81a012888c5481b3f1681759.tar.xz
Bug 1447410 - Make it so you can always request review from .bugs or .tld accounts
Diffstat (limited to 'extensions/Review')
-rw-r--r--extensions/Review/Extension.pm2
1 files changed, 2 insertions, 0 deletions
diff --git a/extensions/Review/Extension.pm b/extensions/Review/Extension.pm
index db2b475a1..f05f2ba8b 100644
--- a/extensions/Review/Extension.pm
+++ b/extensions/Review/Extension.pm
@@ -93,6 +93,8 @@ sub _reviewers_objs {
sub _user_is_active {
my ($self) = @_;
+ # never consider .bugs or .tld addresses as inactive.
+ return 1 if $self->login =~ /bugs$/ || $self->login =~ /\.tld$/;
return 1 unless Bugzilla->params->{max_reviewer_last_seen};
return 0 if !defined($self->last_seen_date);