[LON-CAPA-cvs] cvs: loncom /auth lonroles.pm
raeburn
raeburn at source.lon-capa.org
Wed May 25 14:04:17 EDT 2022
raeburn Wed May 25 18:04:17 2022 EDT
Modified files:
/loncom/auth lonroles.pm
Log:
- Bug 6907
Remove request.deeplink.target, if set, when deeplink no longer in effect.
Index: loncom/auth/lonroles.pm
diff -u loncom/auth/lonroles.pm:1.363 loncom/auth/lonroles.pm:1.364
--- loncom/auth/lonroles.pm:1.363 Tue May 24 16:23:04 2022
+++ loncom/auth/lonroles.pm Wed May 25 18:04:17 2022
@@ -1,7 +1,7 @@
# The LearningOnline Network with CAPA
# User Roles Screen
#
-# $Id: lonroles.pm,v 1.363 2022/05/24 16:23:04 raeburn Exp $
+# $Id: lonroles.pm,v 1.364 2022/05/25 18:04:17 raeburn Exp $
#
# Copyright Michigan State University Board of Trustees
#
@@ -3573,6 +3573,8 @@
my ($state,$others,$listed,$scope,$protect,$display,$target) = split(/,/,$deeplink);
if ($target ne '') {
&Apache::lonnet::appenv({'request.deeplink.target' => $target});
+ } elsif (exists($env{'request.deeplink.target'})) {
+ &Apache::lonnet::delenv('request.deeplink.target');
}
}
}
More information about the LON-CAPA-cvs
mailing list