[LON-CAPA-cvs] cvs: loncom(version_2_11_X) /interface loncommon.pm
raeburn
raeburn at source.lon-capa.org
Thu Oct 1 06:27:14 EDT 2020
raeburn Thu Oct 1 10:27:14 2020 EDT
Modified files: (Branch: version_2_11_X)
/loncom/interface loncommon.pm
Log:
- For 2.11
Backport 1.1348
Index: loncom/interface/loncommon.pm
diff -u loncom/interface/loncommon.pm:1.1075.2.147 loncom/interface/loncommon.pm:1.1075.2.148
--- loncom/interface/loncommon.pm:1.1075.2.147 Mon Sep 28 00:38:30 2020
+++ loncom/interface/loncommon.pm Thu Oct 1 10:27:14 2020
@@ -1,7 +1,7 @@
# The LearningOnline Network with CAPA
# a pile of common routines
#
-# $Id: loncommon.pm,v 1.1075.2.147 2020/09/28 00:38:30 raeburn Exp $
+# $Id: loncommon.pm,v 1.1075.2.148 2020/10/01 10:27:14 raeburn Exp $
#
# Copyright Michigan State University Board of Trustees
#
@@ -4844,12 +4844,13 @@
my $now = time;
my %commblocks = &Apache::lonnet::get_comm_blocks($cdom,$cnum);
if ($activity eq 'docs') {
- my ($blocked,$nosymbcache);
+ my ($blocked,$nosymbcache,$noenccheck);
if (($caller eq 'blockedaccess') || ($caller eq 'blockingstatus')) {
$blocked = 1;
$nosymbcache = 1;
+ $noenccheck = 1;
}
- @blockers = &Apache::lonnet::has_comm_blocking('bre',$symb,$url,$nosymbcache,$blocked,\%commblocks);
+ @blockers = &Apache::lonnet::has_comm_blocking('bre',$symb,$url,$nosymbcache,$noenccheck,$blocked,\%commblocks);
foreach my $block (@blockers) {
if ($block =~ /^firstaccess____(.+)$/) {
my $item = $1;
More information about the LON-CAPA-cvs
mailing list