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

raeburn raeburn@source.lon-capa.org
Sat, 02 Jan 2010 20:26:11 -0000


raeburn		Sat Jan  2 20:26:11 2010 EDT

  Modified files:              
    /loncom/interface	domainprefs.pm 
  Log:
  - Correction to changes in 1.120.
  - Communities and Courses defaults stored under different names in 
    coursecategories hash in domain config.
  
  
Index: loncom/interface/domainprefs.pm
diff -u loncom/interface/domainprefs.pm:1.123 loncom/interface/domainprefs.pm:1.124
--- loncom/interface/domainprefs.pm:1.123	Fri Dec  4 14:33:52 2009
+++ loncom/interface/domainprefs.pm	Sat Jan  2 20:26:10 2010
@@ -1,7 +1,7 @@
 # The LearningOnline Network with CAPA
 # Handler to set domain-wide configuration settings
 #
-# $Id: domainprefs.pm,v 1.123 2009/12/04 14:33:52 jms Exp $
+# $Id: domainprefs.pm,v 1.124 2010/01/02 20:26:10 raeburn Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -5624,15 +5624,13 @@
     } else {
         $changes{'togglecats'} = 1;
         $changes{'categorize'} = 1;
-        $domconfig{'coursecategories'} = {
-                                             togglecats => $env{'form.togglecats'},
-                                             categorize => $env{'form.categorize'},
-                                         };
         $changes{'togglecatscomm'} = 1;
         $changes{'categorizecomm'} = 1;
         $domconfig{'coursecategories'} = {
-                                             togglecats => $env{'form.togglecatscomm'},
-                                             categorize => $env{'form.categorizecomm'},
+                                             togglecats => $env{'form.togglecats'},
+                                             categorize => $env{'form.categorize'},
+                                             togglecatscomm => $env{'form.togglecatscomm'},
+                                             categorizecomm => $env{'form.categorizecomm'},
                                          };
     }
     if (ref($cathash) eq 'HASH') {