summaryrefslogtreecommitdiffstats
path: root/web/lib
diff options
context:
space:
mode:
authorDan McGee <dan@archlinux.org>2008-12-30 03:46:05 +0100
committerLoui Chang <louipc.ist@gmail.com>2008-12-31 16:14:12 +0100
commitbf4fe7f47c7ee110ec67803c77eb95870cde7c60 (patch)
tree25c3d91afd3fba8730fb9182f97a162301f1378f /web/lib
parent1529020e79449e3f29246a633e86a6745d0f10a7 (diff)
downloadaur-bf4fe7f47c7ee110ec67803c77eb95870cde7c60.tar.gz
aur-bf4fe7f47c7ee110ec67803c77eb95870cde7c60.tar.xz
aur.inc: remove unused code
Signed-off-by: Dan McGee <dan@archlinux.org> Signed-off-by: Loui Chang <louipc.ist@gmail.com>
Diffstat (limited to 'web/lib')
-rw-r--r--web/lib/aur.inc47
1 files changed, 0 insertions, 47 deletions
diff --git a/web/lib/aur.inc b/web/lib/aur.inc
index d4ac7724..ab52636a 100644
--- a/web/lib/aur.inc
+++ b/web/lib/aur.inc
@@ -20,53 +20,6 @@ include_once("acctfuncs.inc");
# is using...
-# return an array of info for each Trusted user
-#
-function getTrustedUsers() {
- $tus = array();
- $dbh = db_connect();
- $q = "SELECT * FROM Users WHERE AccountTypeID = 2 ";
- $q.= "ORDER BY Username ASC";
- $result = db_query($q, $dbh);
- if ($result) {
- while ($row = mysql_fetch_assoc($result)) {
- $tus[$row["ID"]] = $row;
- }
- }
- return $tus;
-}
-
-
-# return an array of info for each Developer
-#
-function getDevelopers() {
- $devs = array();
- $dbh = db_connect();
- $q = "SELECT * FROM Users WHERE AccountTypeID = 3 ";
- $q.= "ORDER BY Username ASC";
- $result = db_query($q, $dbh);
- if ($result) {
- while ($row = mysql_fetch_assoc($result)) {
- $devs[$row["ID"]] = $row;
- }
- }
- return $devs;
-}
-
-# return an array of info for each user
-function getUsers() {
- $users = array();
- $dbh = db_connect();
- $q = "SELECT * FROM Users ORDER BY Username ASC";
- $result = db_query($q, $dbh);
- if ($result) {
- while ($row = mysql_fetch_assoc($result)) {
- $users[$row["ID"]] = $row;
- }
- }
- return $users;
-}
-
# see if the visitor is already logged in
#
function check_sid() {