From bf4fe7f47c7ee110ec67803c77eb95870cde7c60 Mon Sep 17 00:00:00 2001 From: Dan McGee Date: Mon, 29 Dec 2008 20:46:05 -0600 Subject: aur.inc: remove unused code Signed-off-by: Dan McGee Signed-off-by: Loui Chang --- web/lib/aur.inc | 47 ----------------------------------------------- 1 file changed, 47 deletions(-) (limited to 'web') diff --git a/web/lib/aur.inc b/web/lib/aur.inc index d4ac772..ab52636 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() { -- cgit v1.2.3-70-g09d2