[Zope3-checkins] SVN: Zope3/trunk/src/zope/app/publisher/browser/globalbrowsermenuservice.py Remove unused retrieval of presentation service.

Stephan Richter srichter at cosmos.phy.tufts.edu
Fri Sep 17 12:16:00 EDT 2004


Log message for revision 27581:
  
  Remove unused retrieval of presentation service.
  
  


Changed:
  U   Zope3/trunk/src/zope/app/publisher/browser/globalbrowsermenuservice.py


-=-
Modified: Zope3/trunk/src/zope/app/publisher/browser/globalbrowsermenuservice.py
===================================================================
--- Zope3/trunk/src/zope/app/publisher/browser/globalbrowsermenuservice.py	2004-09-17 16:15:57 UTC (rev 27580)
+++ Zope3/trunk/src/zope/app/publisher/browser/globalbrowsermenuservice.py	2004-09-17 16:15:59 UTC (rev 27581)
@@ -236,7 +236,6 @@
     _clear = __init__
 
     def menu(self, menu_id, title, description=u''):
-        s = zapi.getGlobalService(zapi.servicenames.Presentation)
         if menu_id in self._registry:
             raise DuplicationError("Menu %s is already defined." % menu_id)
 



More information about the Zope3-Checkins mailing list