From: Simon Green Date: Wed, 4 Sep 2013 00:47:40 +0000 (+1000) Subject: Bug 909720 - Remove unused code in Bugzilla::Search X-Git-Tag: bugzilla-4.5.1~53 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=85b8753b59de091a4700ac6e192224c18e25d54d;p=thirdparty%2Fbugzilla.git Bug 909720 - Remove unused code in Bugzilla::Search r=glob, a=glob --- diff --git a/Bugzilla/Search.pm b/Bugzilla/Search.pm index 18b2a31075..89231e7a82 100644 --- a/Bugzilla/Search.pm +++ b/Bugzilla/Search.pm @@ -2875,11 +2875,6 @@ sub _multiselect_table { return "attachments INNER JOIN attach_data " . " ON attachments.attach_id = attach_data.id" } - elsif ($field eq 'flagtypes.name') { - $args->{full_field} = $dbh->sql_string_concat("flagtypes.name", - "flags.status"); - return "flags INNER JOIN flagtypes ON flags.type_id = flagtypes.id"; - } my $table = "bug_$field"; $args->{full_field} = "bug_$field.value"; return $table;