[LON-CAPA-cvs] cvs: loncom(version_2_8_X) /interface lonpreferences.pm

raeburn raeburn@source.lon-capa.org
Tue, 23 Dec 2008 19:28:07 -0000


raeburn		Tue Dec 23 19:28:07 2008 EDT

  Modified files:              (Branch: version_2_8_X)
    /loncom/interface	lonpreferences.pm 
  Log:
  - Backport 1.132.
  
  
Index: loncom/interface/lonpreferences.pm
diff -u loncom/interface/lonpreferences.pm:1.125.2.1 loncom/interface/lonpreferences.pm:1.125.2.2
--- loncom/interface/lonpreferences.pm:1.125.2.1	Fri Dec 12 19:57:58 2008
+++ loncom/interface/lonpreferences.pm	Tue Dec 23 19:28:07 2008
@@ -1,7 +1,7 @@
 # The LearningOnline Network
 # Preferences
 #
-# $Id: lonpreferences.pm,v 1.125.2.1 2008/12/12 19:57:58 raeburn Exp $
+# $Id: lonpreferences.pm,v 1.125.2.2 2008/12/23 19:28:07 raeburn Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -179,6 +179,7 @@
         &Apache::lonnet::delenv('environment\.languages');
         $message=&mt('Reset preferred language.');
     }
+    &Apache::loncommon::flush_langs_cache($user,$domain);
     $r->print(<<ENDVCSCREEN);
 $message
 ENDVCSCREEN