summaryrefslogtreecommitdiffstats
path: root/extensions/Needinfo
diff options
context:
space:
mode:
authorDave Lawrence <dlawrence@mozilla.com>2013-07-30 16:48:08 +0200
committerDave Lawrence <dlawrence@mozilla.com>2013-07-30 16:48:08 +0200
commit7232cdb1b988dc870a76ca900e9242e0503cc1f0 (patch)
tree95985d6d71cf045483a56fe060a49dde4b07e75f /extensions/Needinfo
parent648639c8dec6cb659fcfb09e609c654484a0b31a (diff)
downloadbugzilla-7232cdb1b988dc870a76ca900e9242e0503cc1f0.tar.gz
bugzilla-7232cdb1b988dc870a76ca900e9242e0503cc1f0.tar.xz
Rollback previous patch
https://bugzilla.mozilla.org/show_bug.cgi?id=899323
Diffstat (limited to 'extensions/Needinfo')
-rw-r--r--extensions/Needinfo/Extension.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/extensions/Needinfo/Extension.pm b/extensions/Needinfo/Extension.pm
index 48a181998..622221507 100644
--- a/extensions/Needinfo/Extension.pm
+++ b/extensions/Needinfo/Extension.pm
@@ -154,7 +154,7 @@ sub bug_start_of_update {
if ($bug->{added_comments}
&& (!$flag->requestee || $flag->requestee->login eq Bugzilla->user->login)
&& (!$is_private || $flag->setter->is_insider)
- && (scalar @needinfo_overrides && grep($_ == $flag->id, @needinfo_overrides)))
+ && grep($_ == $flag->id, @needinfo_overrides))
{
$clear_needinfo = 1;
}