[LON-CAPA-cvs] cvs: loncom /auth lonlogout.pm
raeburn
raeburn at source.lon-capa.org
Fri Feb 8 12:03:41 EST 2013
raeburn Fri Feb 8 17:03:41 2013 EDT
Modified files:
/loncom/auth lonlogout.pm
Log:
- Set language handle if absent.
Index: loncom/auth/lonlogout.pm
diff -u loncom/auth/lonlogout.pm:1.45 loncom/auth/lonlogout.pm:1.46
--- loncom/auth/lonlogout.pm:1.45 Mon Feb 13 16:59:24 2012
+++ loncom/auth/lonlogout.pm Fri Feb 8 17:03:41 2013
@@ -1,7 +1,7 @@
# The LearningOnline Network
# Logout Handler
#
-# $Id: lonlogout.pm,v 1.45 2012/02/13 16:59:24 raeburn Exp $
+# $Id: lonlogout.pm,v 1.46 2013/02/08 17:03:41 raeburn Exp $
#
# Copyright Michigan State University Board of Trustees
#
@@ -70,6 +70,9 @@
my $lonidsdir=$r->dir_config('lonIDsDir');
&Apache::lonnet::transfer_profile_to_env($lonidsdir,$handle);
unlink("$lonidsdir/$handle.id");
+ if (!$Apache::lonlocal::lh) {
+ &Apache::lonlocal::get_language_handle($r);
+ }
my %temp=('logout' => time);
&Apache::lonnet::put('email_status',\%temp);
&Apache::lonnet::log($env{'user.domain'},
More information about the LON-CAPA-cvs
mailing list