[LON-CAPA-cvs] cvs: loncom(version_2_11_X) /lonnet/perl lonnet.pm
raeburn
raeburn at source.lon-capa.org
Sun Oct 26 09:02:43 EDT 2014
raeburn Sun Oct 26 13:02:43 2014 EDT
Modified files: (Branch: version_2_11_X)
/loncom/lonnet/perl lonnet.pm
Log:
- For 2.11
- Backport 1.1267
Index: loncom/lonnet/perl/lonnet.pm
diff -u loncom/lonnet/perl/lonnet.pm:1.1172.2.56 loncom/lonnet/perl/lonnet.pm:1.1172.2.57
--- loncom/lonnet/perl/lonnet.pm:1.1172.2.56 Fri Oct 24 00:37:15 2014
+++ loncom/lonnet/perl/lonnet.pm Sun Oct 26 13:02:42 2014
@@ -1,7 +1,7 @@
# The LearningOnline Network
# TCP networking package
#
-# $Id: lonnet.pm,v 1.1172.2.56 2014/10/24 00:37:15 raeburn Exp $
+# $Id: lonnet.pm,v 1.1172.2.57 2014/10/26 13:02:42 raeburn Exp $
#
# Copyright Michigan State University Board of Trustees
#
@@ -1647,6 +1647,7 @@
sub get_dom {
my ($namespace,$storearr,$udom,$uhome)=@_;
+ return if ($udom eq 'public');
my $items='';
foreach my $item (@$storearr) {
$items.=&escape($item).'&';
@@ -1654,6 +1655,7 @@
$items=~s/\&$//;
if (!$udom) {
$udom=$env{'user.domain'};
+ return if ($udom eq 'public');
if (defined(&domain($udom,'primary'))) {
$uhome=&domain($udom,'primary');
} else {
More information about the LON-CAPA-cvs
mailing list