summaryrefslogtreecommitdiff
path: root/buildmaster/packages.php
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2018-04-17 10:04:07 +0200
committerErich Eckner <git@eckner.net>2018-04-17 10:04:07 +0200
commit5c5ed42237757efcf698a36c37cf9bd0630232c3 (patch)
tree184a92122c95c33ccb09aa5db2955af2d32e2771 /buildmaster/packages.php
parent8af016645fee5c0b22e69d46de9b3401c1bc82d3 (diff)
downloadarchweb32-5c5ed42237757efcf698a36c37cf9bd0630232c3.tar.xz
buildmaster/*.php: use lib/mysql.php
Diffstat (limited to 'buildmaster/packages.php')
-rw-r--r--buildmaster/packages.php20
1 files changed, 0 insertions, 20 deletions
diff --git a/buildmaster/packages.php b/buildmaster/packages.php
deleted file mode 100644
index b7c0196..0000000
--- a/buildmaster/packages.php
+++ /dev/null
@@ -1,20 +0,0 @@
-<?php
-
- $mysql = new mysqli("localhost", "webserver", "empty", "buildmaster");
- if ($mysql->connect_error) {
- die("Connection to mysql database failed: " . $mysql->connect_error);
- }
-
- $result = $mysql -> query("SELECT * FROM `binary_packages`");
- if ($result -> num_rows > 0) {
- while($row = $result->fetch_assoc()) {
- foreach ($row as $key => $val) {
- print $key .": ".$val." - ";
- }
- print "<br>\n";
- }
- }
-
- print 'OK';
-
-?>