[LON-CAPA-cvs] cvs: loncom /localize lonlocal.pm

albertel lon-capa-cvs@mail.lon-capa.org
Tue, 15 Nov 2005 19:07:58 -0000


albertel		Tue Nov 15 14:07:58 2005 EDT

  Modified files:              
    /loncom/localize	lonlocal.pm 
  Log:
  - remove dead code
  
  
Index: loncom/localize/lonlocal.pm
diff -u loncom/localize/lonlocal.pm:1.36 loncom/localize/lonlocal.pm:1.37
--- loncom/localize/lonlocal.pm:1.36	Mon Nov 14 14:53:03 2005
+++ loncom/localize/lonlocal.pm	Tue Nov 15 14:07:58 2005
@@ -1,7 +1,7 @@
 # The LearningOnline Network with CAPA
 # Localization routines
 #
-# $Id: lonlocal.pm,v 1.36 2005/11/14 19:53:03 albertel Exp $
+# $Id: lonlocal.pm,v 1.37 2005/11/15 19:07:58 albertel Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -251,7 +251,7 @@
     my @languages=&Apache::loncommon::preferred_languages;
     $ENV{'HTTP_ACCEPT_LANGUAGE'}='';
     $lh=Apache::localize->get_handle(@languages);
-    if ($r && &Apache::lonnet::mod_perl_version == 1) {
+    if ($r) {
 	$r->content_languages([&current_language()]);
     }
 ###    setlocale(LC_ALL,&current_locale);