[LON-CAPA-cvs] cvs: loncom(version_2_8_X) /interface lonmsg.pm
raeburn
raeburn@source.lon-capa.org
Tue, 23 Dec 2008 19:27:33 -0000
raeburn Tue Dec 23 19:27:33 2008 EDT
Modified files: (Branch: version_2_8_X)
/loncom/interface lonmsg.pm
Log:
- Backport 1.219.
Index: loncom/interface/lonmsg.pm
diff -u loncom/interface/lonmsg.pm:1.214.2.2 loncom/interface/lonmsg.pm:1.214.2.3
--- loncom/interface/lonmsg.pm:1.214.2.2 Sun Dec 21 04:21:53 2008
+++ loncom/interface/lonmsg.pm Tue Dec 23 19:27:33 2008
@@ -1,7 +1,7 @@
# The LearningOnline Network with CAPA
# Routines for messaging
#
-# $Id: lonmsg.pm,v 1.214.2.2 2008/12/21 04:21:53 raeburn Exp $
+# $Id: lonmsg.pm,v 1.214.2.3 2008/12/23 19:27:33 raeburn Exp $
#
# Copyright Michigan State University Board of Trustees
#
@@ -938,7 +938,7 @@
@userlangs=(@userlangs,split(/\s*(\,|\;|\:)\s*/,
$env{'course.'.$fromcid.'.languages'}));
} else {
- my %langhash = &Apache::lonnet::get('environment',['languages'],$toudom,$touname);
+ my %langhash = &Apache::loncommon::getlangs($toudom,$touname);
if ($langhash{'languages'} ne '') {
@userlangs = split(/\s*(\,|\;|\:)\s*/,$langhash{'languages'});
} else {