[LON-CAPA-cvs] cvs: loncom /interface domainprefs.pm

raeburn raeburn at source.lon-capa.org
Sun Jan 22 08:26:32 EST 2017


raeburn		Sun Jan 22 13:26:32 2017 EDT

  Modified files:              
    /loncom/interface	domainprefs.pm 
  Log:
  - &get_active_dcs() moved to lonnet.pm and renamed: get_active_domroles(),
    with sencond arg -- ref to array of domain roles.
  
  
Index: loncom/interface/domainprefs.pm
diff -u loncom/interface/domainprefs.pm:1.286 loncom/interface/domainprefs.pm:1.287
--- loncom/interface/domainprefs.pm:1.286	Wed Jan 18 21:24:39 2017
+++ loncom/interface/domainprefs.pm	Sun Jan 22 13:26:32 2017
@@ -1,7 +1,7 @@
 # The LearningOnline Network with CAPA
 # Handler to set domain-wide configuration settings
 #
-# $Id: domainprefs.pm,v 1.286 2017/01/18 21:24:39 raeburn Exp $
+# $Id: domainprefs.pm,v 1.287 2017/01/22 13:26:32 raeburn Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -14270,7 +14270,7 @@
 
 sub active_dc_picker {
     my ($dom,$numinrow,$inputtype,$name,%currhash) = @_;
-    my %domcoords = &get_active_dcs($dom);
+    my %domcoords = &Apache::lonnet::get_active_domroles($dom,['dc']);
     my @domcoord = keys(%domcoords);
     if (keys(%currhash)) {
         foreach my $dc (keys(%currhash)) {




More information about the LON-CAPA-cvs mailing list