[CMF-checkins] CVS: CMF/CMFCore - MemberDataTool.py:1.19.8.1

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


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

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

=== CMF/CMFCore/MemberDataTool.py 1.19 => 1.19.8.1 ===
--- CMF/CMFCore/MemberDataTool.py:1.19	Thu Oct 17 15:38:35 2002
+++ CMF/CMFCore/MemberDataTool.py	Wed Dec 18 16:41:45 2002
@@ -38,6 +38,9 @@
 class MemberDataTool (UniqueObject, SimpleItem, PropertyManager, ActionProviderBase):
     '''This tool wraps user objects, making them act as Member objects.
     '''
+
+    __implements__ = ActionProviderBase.__implements__
+
     id = 'portal_memberdata'
     meta_type = 'CMF Member Data Tool'
     _actions = []
@@ -80,13 +83,6 @@
     #
     #   'portal_memberdata' interface methods
     #
-    security.declarePrivate('listActions')
-    def listActions(self, info=None):
-        """
-        Return actions provided via tool.
-        """
-        return self._actions
-
     security.declarePrivate('getMemberDataContents')
     def getMemberDataContents(self):
         '''