[LON-CAPA-cvs] cvs: loncom(version_2_8_X) /lonnet/perl lonnet.pm

raeburn raeburn@source.lon-capa.org
Mon, 05 Jan 2009 16:28:12 -0000


raeburn		Mon Jan  5 16:28:12 2009 EDT

  Modified files:              (Branch: version_2_8_X)
    /loncom/lonnet/perl	lonnet.pm 
  Log:
  - Backport 1.982.
  
  
Index: loncom/lonnet/perl/lonnet.pm
diff -u loncom/lonnet/perl/lonnet.pm:1.976.2.4 loncom/lonnet/perl/lonnet.pm:1.976.2.5
--- loncom/lonnet/perl/lonnet.pm:1.976.2.4	Wed Dec 31 18:26:53 2008
+++ loncom/lonnet/perl/lonnet.pm	Mon Jan  5 16:28:11 2009
@@ -1,7 +1,7 @@
 # The LearningOnline Network
 # TCP networking package
 #
-# $Id: lonnet.pm,v 1.976.2.4 2008/12/31 18:26:53 raeburn Exp $
+# $Id: lonnet.pm,v 1.976.2.5 2009/01/05 16:28:11 raeburn Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -1227,7 +1227,6 @@
 sub get_domain_defaults {
     my ($domain) = @_;
     my $cachetime = 60*60*24;
-    my ($defauthtype,$defautharg,$deflang,%deftools);
     my ($result,$cached)=&is_cached_new('domdefaults',$domain);
     if (defined($cached)) {
         if (ref($result) eq 'HASH') {
@@ -1241,6 +1240,8 @@
         $domdefaults{'lang_def'} = $domconfig{'defaults'}{'lang_def'}; 
         $domdefaults{'auth_def'} = $domconfig{'defaults'}{'auth_def'};
         $domdefaults{'auth_arg_def'} = $domconfig{'defaults'}{'auth_arg_def'};
+        $domdefaults{'timezone_def'} = $domconfig{'defaults'}{'timezone_def'};
+        $domdefaults{'datelocale_def'} = $domconfig{'defaults'}{'datelocale_def'};
     } else {
         $domdefaults{'lang_def'} = &domain($domain,'lang_def');
         $domdefaults{'auth_def'} = &domain($domain,'auth_def');