summaryrefslogtreecommitdiff
path: root/packages
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2019-02-18 20:15:39 +0100
committerErich Eckner <git@eckner.net>2019-02-18 20:15:39 +0100
commit83be298ae3123e724a64da98a5ee2a7d3f52fcec (patch)
tree6cb791f0c6ce8c8b29e9d23ec9124b25d11f8cc8 /packages
parent4c6b074e85d7d8e97b9f125f5fbc2949bc8839dd (diff)
downloadarchweb32-83be298ae3123e724a64da98a5ee2a7d3f52fcec.tar.xz
packages/index.php: cleanup
Diffstat (limited to 'packages')
-rw-r--r--packages/index.php22
1 files changed, 0 insertions, 22 deletions
diff --git a/packages/index.php b/packages/index.php
index e062cce..211bc3c 100644
--- a/packages/index.php
+++ b/packages/index.php
@@ -189,28 +189,6 @@ require_once BASE . "/lib/format.php";
true
);
- $query = " FROM `binary_packages`" .
- mysql_join_binary_packages_architectures() .
- mysql_join_binary_packages_binary_packages_in_repositories() .
- mysql_join_binary_packages_in_repositories_repositories() .
- " AND `repositories`.`is_on_master_mirror`" .
- mysql_join_repositories_architectures("","r_a") .
- mysql_join_binary_packages_build_assignments() .
- mysql_join_build_assignments_package_sources() .
- $extra_joins .
- $filter . $fuzzy_filter .
- " ORDER BY ";
-
- if (array_key_exists("sort", $_GET)) {
- 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`";
-
-
$pages = max(ceil($num_results / 100), 1);
if (array_key_exists("page", $_GET))
$page = max(min($_GET["page"]+0, $pages),1);