From: zacheiss Date: Fri, 15 Jun 2007 14:48:14 +0000 (+0000) Subject: Don't include accounts that are type TEST or REGTEST. X-Git-Url: http://andersk.mit.edu/gitweb/moira.git/commitdiff_plain/7477c5a7689dd9e911fc4a4aebb9d7211b7e15b6 Don't include accounts that are type TEST or REGTEST. --- diff --git a/gen/directory.pc b/gen/directory.pc index 75e6aafd..ee27d3be 100644 --- a/gen/directory.pc +++ b/gen/directory.pc @@ -64,7 +64,7 @@ int main(int argc, char **argv) login, last, first, middle, office_addr, office_phone, home_addr, home_phone, clearid, type FROM users WHERE status = 1 AND type != 'SYSTEM' AND type != 'STAFF' - AND type NOT LIKE 'GUES%'; + AND type != 'TEST' and type != 'REGTEST' AND type NOT LIKE 'GUES%'; EXEC SQL OPEN x; while (1) {