--- loncom/interface/domainprefs.pm 2007/04/10 20:49:07 1.9
+++ loncom/interface/domainprefs.pm 2007/04/10 21:40:12 1.10
@@ -1,7 +1,7 @@
# The LearningOnline Network with CAPA
# Handler to set domain-wide configuration settings
#
-# $Id: domainprefs.pm,v 1.9 2007/04/10 20:49:07 raeburn Exp $
+# $Id: domainprefs.pm,v 1.10 2007/04/10 21:40:12 albertel Exp $
#
# Copyright Michigan State University Board of Trustees
#
@@ -1454,10 +1454,9 @@ sub check_switchserver {
$home = &Apache::lonnet::domain($dom,'primary');
}
my @ids=&Apache::lonnet::current_machine_ids();
- foreach my $id (@ids) { if ($id eq $home) { $allowed=1; }
- if (!$allowed) {
- $switchserver=''.&mt('Switch Server').'';
- }
+ foreach my $id (@ids) { if ($id eq $home) { $allowed=1; } }
+ if (!$allowed) {
+ $switchserver=''.&mt('Switch Server').'';
}
return $switchserver;
}