Committer: vad
LJSUP-6868. Community can be expurged. Not to do with it anything.U trunk/bin/misc/set_comm_supermaintainer.pl
Modified: trunk/bin/misc/set_comm_supermaintainer.pl =================================================================== --- trunk/bin/misc/set_comm_supermaintainer.pl 2011-02-04 11:57:21 UTC (rev 18217) +++ trunk/bin/misc/set_comm_supermaintainer.pl 2011-02-04 12:00:29 UTC (rev 18218) @@ -61,7 +61,7 @@ my $where = @ARGV ? " AND user IN('".join("','",@ARGV)."') " : ''; $verbose = 1 if @ARGV; -my $communities = $dbr->selectall_arrayref ("SELECT userid, user FROM user WHERE status <> 'X' AND journaltype = 'C'$where", { Slice => {} }); +my $communities = $dbr->selectall_arrayref ("SELECT userid, user FROM user WHERE statusvis <> 'X' AND clusterid != 0 AND journaltype = 'C'$where", { Slice => {} }); sub _log { print @_ if $verbose;