diff options
author | Erich Eckner <git@eckner.net> | 2018-04-20 11:57:21 +0200 |
---|---|---|
committer | Erich Eckner <git@eckner.net> | 2018-04-20 11:57:21 +0200 |
commit | 937c6a12b972996b13a61942b36f753bcb1becaa (patch) | |
tree | c18458a5077630b863fb4b3289b2cd91c414a47c /packages | |
parent | 7e3abadb0226a3bb0b9eef60bd5120171da6e9f0 (diff) | |
download | archweb32-937c6a12b972996b13a61942b36f753bcb1becaa.tar.xz |
packages/index.php: cleanup
Diffstat (limited to 'packages')
-rw-r--r-- | packages/index.php | 7 |
1 files changed, 0 insertions, 7 deletions
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( |