[LON-CAPA-cvs] cvs: loncom /interface domainprefs.pm

albertel lon-capa-cvs-allow@mail.lon-capa.org
Fri, 01 Jun 2007 05:48:24 -0000


albertel		Fri Jun  1 01:48:24 2007 EDT

  Modified files:              
    /loncom/interface	domainprefs.pm 
  Log:
  - remove debug code
  
  
Index: loncom/interface/domainprefs.pm
diff -u loncom/interface/domainprefs.pm:1.18 loncom/interface/domainprefs.pm:1.19
--- loncom/interface/domainprefs.pm:1.18	Thu May 31 21:14:51 2007
+++ loncom/interface/domainprefs.pm	Fri Jun  1 01:48:23 2007
@@ -1,7 +1,7 @@
 # The LearningOnline Network with CAPA
 # Handler to set domain-wide configuration settings
 #
-# $Id: domainprefs.pm,v 1.18 2007/06/01 01:14:51 albertel Exp $
+# $Id: domainprefs.pm,v 1.19 2007/06/01 05:48:23 albertel Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -1519,7 +1519,6 @@
     }
     my @ids=&Apache::lonnet::current_machine_ids();
     foreach my $id (@ids) { if ($id eq $home) { $allowed=1; } }
-    $allowed=0;
     if (!$allowed) {
 	$switchserver='<a href="/adm/switchserver?otherserver='.$home.'&role=dc./'.$dom.'/">'.&mt('Switch Server').'</a>';
     }