summaryrefslogtreecommitdiffstats
path: root/extensions/TrackingFlags
diff options
context:
space:
mode:
Diffstat (limited to 'extensions/TrackingFlags')
-rw-r--r--extensions/TrackingFlags/Extension.pm18
1 files changed, 0 insertions, 18 deletions
diff --git a/extensions/TrackingFlags/Extension.pm b/extensions/TrackingFlags/Extension.pm
index 455afdd1f..bbf1650d5 100644
--- a/extensions/TrackingFlags/Extension.pm
+++ b/extensions/TrackingFlags/Extension.pm
@@ -402,24 +402,6 @@ sub search_operator_field_override {
}
}
-sub search_clause_structure {
- my ($self, $args) = @_;
- # when searching, map "eq ---" to "isempty"
- my $clause = $args->{clause};
- my @tracking_flags = map { $_->name } Bugzilla::Extension::TrackingFlags::Flag->get_all;
- $clause->walk_conditions(sub {
- my ($clause, $condition) = @_;
- if (defined($condition->field)
- and grep { $condition->field eq $_ } @tracking_flags
- and $condition->{value} eq '---')
- {
- $condition->{operator} = $condition->{operator} =~ /^not/
- ? 'isnotempty'
- : 'isempty';
- }
- });
-}
-
sub _tracking_flags_search_nonchanged {
my ($flag_id, $search, $args) = @_;
my ($bugs_table, $chart_id, $joins, $value, $operator) =