diff options
author | Dylan William Hardison <dylan@hardison.net> | 2018-03-23 20:58:17 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-03-23 20:58:17 +0100 |
commit | 8c3378b021f646ca81a012888c5481b3f1681759 (patch) | |
tree | 06d5751f1f152a158fe3217769d670985eea1cbf /extensions/Review | |
parent | 7ed1891fb2b81514d090969aece07a8e0be894f1 (diff) | |
download | bugzilla-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.pm | 2 |
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); |