[LON-CAPA-cvs] cvs: loncom /auth switchserver.pm
raeburn
raeburn at source.lon-capa.org
Wed Aug 11 13:03:03 EDT 2021
raeburn Wed Aug 11 17:03:03 2021 EDT
Modified files:
/loncom/auth switchserver.pm
Log:
- Remove unused scalar and duplicate line added in rev. 1.56
Index: loncom/auth/switchserver.pm
diff -u loncom/auth/switchserver.pm:1.57 loncom/auth/switchserver.pm:1.58
--- loncom/auth/switchserver.pm:1.57 Tue Aug 10 15:28:13 2021
+++ loncom/auth/switchserver.pm Wed Aug 11 17:03:03 2021
@@ -1,7 +1,7 @@
# The LearningOnline Network
# Switch Servers Handler
#
-# $Id: switchserver.pm,v 1.57 2021/08/10 15:28:13 raeburn Exp $
+# $Id: switchserver.pm,v 1.58 2021/08/11 17:03:03 raeburn Exp $
#
# Copyright Michigan State University Board of Trustees
#
@@ -294,15 +294,13 @@
my $ssologoutscript = '';
if ($env{'request.sso.login'}) {
$info{'sso.login'} = $env{'request.sso.login'};
- my $dom = $env{'user.domain'};
if (defined($r->dir_config("lonSSOUserLogoutScriptFile_$info{domain}"))) {
if (open(my $fh,'<',$r->dir_config("lonSSOUserLogoutScriptFile_$info{domain}"))) {
$ssologoutscript .= join('',<$fh>);
close($fh);
}
}
- if ($env{'request.sso.login'}
- && defined($r->dir_config('lonSSOUserLogoutScriptFile'))) {
+ if (defined($r->dir_config('lonSSOUserLogoutScriptFile'))) {
if (open(my $fh,'<',$r->dir_config('lonSSOUserLogoutScriptFile'))) {
$ssologoutscript .= join('',<$fh>);
close($fh);
More information about the LON-CAPA-cvs
mailing list