[CMF-checkins] CVS: CMF/CMFDefault - DiscussionTool.py:1.11.6.1

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


Update of /cvs-repository/CMF/CMFDefault
In directory cvs.zope.org:/tmp/cvs-serv11056/CMFDefault

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

=== CMF/CMFDefault/DiscussionTool.py 1.11 => 1.11.6.1 ===
--- CMF/CMFDefault/DiscussionTool.py:1.11	Sat Aug  3 22:31:31 2002
+++ CMF/CMFDefault/DiscussionTool.py	Wed Dec 18 16:43:06 2002
@@ -34,6 +34,8 @@
 
 class DiscussionTool( UniqueObject, SimpleItem, ActionProviderBase ):
 
+    __implements__ = ActionProviderBase.__implements__
+
     id = 'portal_discussion'
     meta_type = 'Default Discussion Tool'
     _actions = [ActionInformation(id='reply'
@@ -64,13 +66,6 @@
     #
     #   'portal_discussion' interface methods
     #
-
-    security.declarePrivate('listActions')
-    def listActions(self, info=None):
-        """
-        Return available actions via tool.
-        """
-        return self._actions
 
     security.declarePublic( 'overrideDiscussionFor' )
     def overrideDiscussionFor(self, content, allowDiscussion):