[CMF-checkins] CVS: CMF/CMFCore - UndoTool.py:1.11.8.1

Yvo Schubbe schubbe@web.de
Wed, 18 Dec 2002 16:43:06 -0500


Update of /cvs-repository/CMF/CMFCore
In directory cvs.zope.org:/tmp/cvs-serv10876/CMFCore

Modified Files:
      Tag: yuppie-collector096-branch
	UndoTool.py 
Log Message:
ActionProvider interface cleanup:
- Removed listActions() from Contentish and portal_workflow interface.
- Removed redundant or 'None' overriding of listActions().

=== CMF/CMFCore/UndoTool.py 1.11 => 1.11.8.1 ===
--- CMF/CMFCore/UndoTool.py:1.11	Thu Oct 17 15:38:35 2002
+++ CMF/CMFCore/UndoTool.py	Wed Dec 18 16:42:35 2002
@@ -28,6 +28,9 @@
 from CMFCorePermissions import ListUndoableChanges
 
 class UndoTool (UniqueObject, SimpleItem, ActionProviderBase):
+
+    __implements__ = ActionProviderBase.__implements__
+
     id = 'portal_undo'
     meta_type = 'CMF Undo Tool'
     # This tool is used to undo changes.
@@ -55,13 +58,6 @@
     #
     security.declareProtected(ManagePortal, 'manage_overview')
     manage_overview = DTMLFile( 'explainUndoTool', _dtmldir )
-
-    security.declarePrivate('listActions')
-    def listActions(self, info=None):
-        """
-        List actions available through tool
-        """
-        return self._actions
 
     #
     #   'portal_undo' interface methods