[LON-CAPA-cvs] cvs: loncom(version_2_11_X) /lonnet/perl lonnet.pm
raeburn
raeburn at source.lon-capa.org
Mon Sep 7 21:19:47 EDT 2020
raeburn Tue Sep 8 01:19:47 2020 EDT
Modified files: (Branch: version_2_11_X)
/loncom/lonnet/perl lonnet.pm
Log:
- For 2.11
Reverse part of 1.1172.2.124 changes -- will_trust() is in 2.12.
Index: loncom/lonnet/perl/lonnet.pm
diff -u loncom/lonnet/perl/lonnet.pm:1.1172.2.124 loncom/lonnet/perl/lonnet.pm:1.1172.2.125
--- loncom/lonnet/perl/lonnet.pm:1.1172.2.124 Wed May 27 17:11:31 2020
+++ loncom/lonnet/perl/lonnet.pm Tue Sep 8 01:19:47 2020
@@ -1,7 +1,7 @@
# The LearningOnline Network
# TCP networking package
#
-# $Id: lonnet.pm,v 1.1172.2.124 2020/05/27 17:11:31 raeburn Exp $
+# $Id: lonnet.pm,v 1.1172.2.125 2020/09/08 01:19:47 raeburn Exp $
#
# Copyright Michigan State University Board of Trustees
#
@@ -3085,12 +3085,7 @@
} elsif (grep { $_ eq $home } ¤t_machine_ids()) {
$answer = 'home';
} else {
- my $defdom = $perlvar{'lonDefDomain'};
- if (&will_trust('content',$defdom,$udom)) {
- $answer = reply("unsub:$fname",$home);
- } else {
- $answer = 'untrusted';
- }
+ $answer = reply("unsub:$fname",$home);
}
return $answer;
}
More information about the LON-CAPA-cvs
mailing list