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

gci gci@source.lon-capa.org
Wed, 23 Sep 2009 02:41:24 -0000


gci		Wed Sep 23 02:41:24 2009 EDT

  Modified files:              (Branch: GCI_2)
    /loncom/interface	domainprefs.pm 
  Log:
  - 'gci' is an allowed language for the GCI custom version of LON-CAPA.
  
  
Index: loncom/interface/domainprefs.pm
diff -u loncom/interface/domainprefs.pm:1.102.4.1 loncom/interface/domainprefs.pm:1.102.4.2
--- loncom/interface/domainprefs.pm:1.102.4.1	Wed Sep 23 02:40:13 2009
+++ loncom/interface/domainprefs.pm	Wed Sep 23 02:41:24 2009
@@ -1,7 +1,7 @@
 # The LearningOnline Network with CAPA
 # Handler to set domain-wide configuration settings
 #
-# $Id: domainprefs.pm,v 1.102.4.1 2009/09/23 02:40:13 gci Exp $
+# $Id: domainprefs.pm,v 1.102.4.2 2009/09/23 02:41:24 gci Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -5012,7 +5012,7 @@
             if ($newvalues{$item} ne '') {
                 if ($newvalues{$item} =~ /^(\w+)/) {
                     my $langcode = $1;
-                    if ($langcode ne 'x_chef') {
+                    if ($langcode ne 'gci' && $langcode ne 'x_chef') {
                         if (code2language($langcode) eq '') {
                             push(@errors,$item);
                         }