]> git.ipfire.org Git - thirdparty/bugzilla.git/commitdiff
Bug 909720 - Remove unused code in Bugzilla::Search
authorSimon Green <sgreen@redhat.com>
Wed, 4 Sep 2013 00:47:40 +0000 (10:47 +1000)
committerSimon Green <sgreen@redhat.com>
Wed, 4 Sep 2013 00:47:40 +0000 (10:47 +1000)
r=glob, a=glob

Bugzilla/Search.pm

index 18b2a3107590e7fad2d597f6801f2749a9570c46..89231e7a826a3c358d1e9aaa3203a80f345d3e86 100644 (file)
@@ -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;