Skip to content

Commit d838804

Browse files
committed
BugmailFilter: Update name of has_extension function
1 parent 84ff09d commit d838804

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

extensions/BugmailFilter/Extension.pm

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -339,7 +339,7 @@ sub _should_drop {
339339
$rel_map[8] = !$rel_map[8];
340340
$rel_map[9] = ($relationship & $bit_watching or $relationship & $bit_compwatch);
341341
$rel_map[10] = !$rel_map[9];
342-
if (Bugzilla->have_extension('Review')) {
342+
if (Bugzilla->has_extension('Review')) {
343343
$rel_map[11] = $bug->is_mentor($user);
344344
$rel_map[12] = !$rel_map[11];
345345
}

extensions/BugmailFilter/lib/Constants.pm

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ sub FILTER_RELATIONSHIPS() {
8383
push @$relations, { name => "Not CC'ed", value => $index++ };
8484
push @$relations, { name => 'Watching', value => $index++ };
8585
push @$relations, { name => 'Not Watching', value => $index++ };
86-
if (Bugzilla->have_extension('Review')) {
86+
if (Bugzilla->has_extension('Review')) {
8787
push @$relations, { name => 'Mentoring', value => $index++ };
8888
push @$relations, { name => 'Not Mentoring', value => $index++ };
8989
}

0 commit comments

Comments
 (0)