[CMF-checkins] CVS: CMF/CMFCore - MembershipTool.py:1.29.8.1

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


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

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

=== CMF/CMFCore/MembershipTool.py 1.29 => 1.29.8.1 ===
--- CMF/CMFCore/MembershipTool.py:1.29	Thu Oct 17 15:38:35 2002
+++ CMF/CMFCore/MembershipTool.py	Wed Dec 18 16:41:57 2002
@@ -44,6 +44,9 @@
     # This tool accesses member data through an acl_users object.
     # It can be replaced with something that accesses member data in
     # a different way.
+
+    __implements__ = ActionProviderBase.__implements__
+
     id = 'portal_membership'
     meta_type = 'CMF Membership Tool'
     _actions = []
@@ -415,10 +418,6 @@
         if properties is not None:
             member = self.getMemberById(id)
             member.setMemberProperties(properties)
-
-    security.declarePrivate('listActions')
-    def listActions(self, info=None):
-        return None
 
     security.declarePublic('getHomeFolder')
     def getHomeFolder(self, id=None, verifyPermission=0):