From 937c6a12b972996b13a61942b36f753bcb1becaa Mon Sep 17 00:00:00 2001 From: Erich Eckner Date: Fri, 20 Apr 2018 11:57:21 +0200 Subject: packages/index.php: cleanup --- packages/index.php | 7 ------- 1 file changed, 7 deletions(-) (limited to 'packages') diff --git a/packages/index.php b/packages/index.php index 7230239..7b0749b 100644 --- a/packages/index.php +++ b/packages/index.php @@ -63,13 +63,6 @@ $filter . $exact_filter . " ORDER BY "; - if (isset($_GET["sort"])) { - if (isset($sorts[$_GET["sort"]]["mysql"])) - $query .= $sorts[$_GET["sort"]]["mysql"] . ","; - elseif (isset($sorts[substr($_GET["sort"],1)]["mysql"])) - $query .= $sorts[substr($_GET["sort"],1)]["mysql"] . " DESC,"; - } - $query .= "`binary_packages`.`pkgname`,`repositories`.`stability`,`repositories`.`name`,`architectures`.`name`"; $result = mysql_run_query( -- cgit v1.2.3-70-g09d2