summaryrefslogtreecommitdiffstats
path: root/web/lib/aur.inc
diff options
context:
space:
mode:
authorpjmattal <pjmattal>2005-04-06 05:25:28 +0200
committerpjmattal <pjmattal>2005-04-06 05:25:28 +0200
commit20c02507ab2e9ea1f36910611b50b00f32a8365d (patch)
treede5bd868a876386cebe490c5a99d48237a2e691d /web/lib/aur.inc
parent71b5b9e6b7e92fe1f2c0c49f47af1c1255f41e24 (diff)
downloadaur-20c02507ab2e9ea1f36910611b50b00f32a8365d.tar.gz
aur-20c02507ab2e9ea1f36910611b50b00f32a8365d.tar.xz
fixed multiple maintainer mess
Diffstat (limited to 'web/lib/aur.inc')
-rw-r--r--web/lib/aur.inc14
1 files changed, 14 insertions, 0 deletions
diff --git a/web/lib/aur.inc b/web/lib/aur.inc
index 793ef7c4..0563da86 100644
--- a/web/lib/aur.inc
+++ b/web/lib/aur.inc
@@ -56,6 +56,20 @@ function getDevelopers() {
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() {