Skip to content

Commit

Permalink
portlist: Drop unused library search method
Browse files Browse the repository at this point in the history
We don't show the 'library' search method to users anymore, so we might
as well remove it from the code.
  • Loading branch information
neverpanic committed Feb 12, 2017
1 parent 1a56497 commit d66d4aa
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions ports.php
Expand Up @@ -102,9 +102,6 @@
$tables .= ", maintainers AS m";
$criteria = "m.portfile = p.name AND m.maintainer LIKE '%" . pg_escape_string($substr) . "%'";
break;
case 'library':
$criteria = "p.name = '" . pg_escape_string($substr) . "'";
break;
case 'variant':
$tables .= ", variants AS v";
$criteria = "v.portfile = p.name AND v.variant = '" . pg_escape_string($substr) . "'";
Expand Down

0 comments on commit d66d4aa

Please sign in to comment.