Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/packages
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2018-04-20 11:57:21 +0200
committerErich Eckner <git@eckner.net>2018-04-20 11:57:21 +0200
commit937c6a12b972996b13a61942b36f753bcb1becaa (patch)
treec18458a5077630b863fb4b3289b2cd91c414a47c /packages
parent7e3abadb0226a3bb0b9eef60bd5120171da6e9f0 (diff)
packages/index.php: cleanup
Diffstat (limited to 'packages')
-rw-r--r--packages/index.php7
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(