[LON-CAPA-cvs] cvs: rat / lonuserstate.pm
raeburn
raeburn at source.lon-capa.org
Sun May 29 08:10:17 EDT 2022
raeburn Sun May 29 12:10:17 2022 EDT
Modified files:
/rat lonuserstate.pm
Log:
- Bug 6907
Remove request.deeplink.target, if set, when deeplink no longer in effect.
Index: rat/lonuserstate.pm
diff -u rat/lonuserstate.pm:1.167 rat/lonuserstate.pm:1.168
--- rat/lonuserstate.pm:1.167 Sat Aug 21 03:42:02 2021
+++ rat/lonuserstate.pm Sun May 29 12:10:17 2022
@@ -1,7 +1,7 @@
# The LearningOnline Network with CAPA
# Construct and maintain state and binary representation of course for user
#
-# $Id: lonuserstate.pm,v 1.167 2021/08/21 03:42:02 raeburn Exp $
+# $Id: lonuserstate.pm,v 1.168 2022/05/29 12:10:17 raeburn Exp $
#
# Copyright Michigan State University Board of Trustees
#
@@ -1635,6 +1635,9 @@
}
if ($disallow) {
&Apache::lonnet::delenv('request.deeplink.login');
+ if ($env{'request.deeplink.target'} ne '') {
+ &Apache::lonnet::delenv('request.deeplink.target');
+ }
} else {
if ($others eq 'hide') {
my @recfolders;
More information about the LON-CAPA-cvs
mailing list