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

albertel lon-capa-cvs-allow@mail.lon-capa.org
Thu, 30 Aug 2007 23:00:42 -0000


albertel		Thu Aug 30 19:00:42 2007 EDT

  Modified files:              
    /loncom/interface	lonmenu.pm 
  Log:
  - eliminate unneeded code
  
  
Index: loncom/interface/lonmenu.pm
diff -u loncom/interface/lonmenu.pm:1.225 loncom/interface/lonmenu.pm:1.226
--- loncom/interface/lonmenu.pm:1.225	Thu Aug 30 18:35:41 2007
+++ loncom/interface/lonmenu.pm	Thu Aug 30 19:00:41 2007
@@ -1,7 +1,7 @@
 # The LearningOnline Network with CAPA
 # Routines to control the menu
 #
-# $Id: lonmenu.pm,v 1.225 2007/08/30 22:35:41 albertel Exp $
+# $Id: lonmenu.pm,v 1.226 2007/08/30 23:00:41 albertel Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -887,8 +887,6 @@
        my $text=$top.' '.$bot;
        $text=~s/\s*\-\s*//gs;
 
-       my $lonhttpdPort=$Apache::lonnet::perlvar{'lonhttpdPort'};
-       if (!defined($lonhttpdPort)) { $lonhttpdPort='8080'; }
        my $pic=
 	   '<img alt="'.$text.'" src="'.
 	   &Apache::loncommon::lonhttpdurl('/res/adm/pages/'.$img).