[LON-CAPA-cvs] cvs: loncom /interface domainprefs.pm
raeburn
raeburn at source.lon-capa.org
Wed Apr 1 19:02:45 EDT 2015
raeburn Wed Apr 1 23:02:45 2015 EDT
Modified files:
/loncom/interface domainprefs.pm
Log:
- Support expiration of cached domain config on a (remote) library server for
another domain managed by the same institution as manages the server hosting
the current session.
Index: loncom/interface/domainprefs.pm
diff -u loncom/interface/domainprefs.pm:1.259 loncom/interface/domainprefs.pm:1.260
--- loncom/interface/domainprefs.pm:1.259 Mon Mar 16 13:16:27 2015
+++ loncom/interface/domainprefs.pm Wed Apr 1 23:02:44 2015
@@ -1,7 +1,7 @@
# The LearningOnline Network with CAPA
# Handler to set domain-wide configuration settings
#
-# $Id: domainprefs.pm,v 1.259 2015/03/16 13:16:27 raeburn Exp $
+# $Id: domainprefs.pm,v 1.260 2015/04/01 23:02:44 raeburn Exp $
#
# Copyright Michigan State University Board of Trustees
#
@@ -12018,7 +12018,7 @@
my %thismachine;
map { $thismachine{$_} = 1; } &Apache::lonnet::current_machine_ids();
my @posscached = ('domainconfig','domdefaults');
- if (keys(%servers) > 1) {
+ if (keys(%servers)) {
foreach my $server (keys(%servers)) {
next if ($thismachine{$server});
my @cached;
More information about the LON-CAPA-cvs
mailing list