Commit 5801e47c authored by Leigh B. Stoller's avatar Leigh B. Stoller
Browse files

For active users list, check state='active' in experiments to avoid

picking users from projects with swapped out experiments!
parent 5e7386d7
......@@ -2,7 +2,7 @@
#
# EMULAB-COPYRIGHT
# Copyright (c) 2000-2002 University of Utah and the Flux Group.
# Copyright (c) 2000-2003 University of Utah and the Flux Group.
# All rights reserved.
#
use Fcntl ':flock';
......@@ -166,7 +166,9 @@ foreach my $active ( 0, 1 ) {
"left join group_membership as p ".
" on e.pid=p.pid and p.pid=p.gid ".
"left join users as u on u.uid=p.uid ".
"where u.status='active' order by u.usr_email"))) {
"where u.status='active' and ".
" e.state='active' ".
"order by u.usr_email"))) {
DBFatal("Getting Active Users!");
}
$userlist = "$TBOPS\n".
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment