[LON-CAPA-cvs] cvs: loncom /lonnet/perl lonnet.pm
raeburn
raeburn@source.lon-capa.org
Fri, 08 May 2009 12:45:28 -0000
raeburn Fri May 8 12:45:28 2009 EDT
Modified files:
/loncom/lonnet/perl lonnet.pm
Log:
- Check for active DC roles only (start before $now, end after $now).
Index: loncom/lonnet/perl/lonnet.pm
diff -u loncom/lonnet/perl/lonnet.pm:1.997 loncom/lonnet/perl/lonnet.pm:1.998
--- loncom/lonnet/perl/lonnet.pm:1.997 Fri May 8 01:43:50 2009
+++ loncom/lonnet/perl/lonnet.pm Fri May 8 12:45:28 2009
@@ -1,7 +1,7 @@
# The LearningOnline Network
# TCP networking package
#
-# $Id: lonnet.pm,v 1.997 2009/05/08 01:43:50 raeburn Exp $
+# $Id: lonnet.pm,v 1.998 2009/05/08 12:45:28 raeburn Exp $
#
# Copyright Michigan State University Board of Trustees
#
@@ -2744,7 +2744,7 @@
if ($username eq '' || $domain eq '') { next; }
unless (ref($privileged{$domain}) eq 'HASH') {
my %dompersonnel =
- &Apache::lonnet::get_domain_roles($domain,['dc'],undef,$now);
+ &Apache::lonnet::get_domain_roles($domain,['dc'],$now,$now);
$privileged{$domain} = {};
foreach my $server (keys(%dompersonnel)) {
if(ref($dompersonnel{$server}) eq 'HASH') {