From c1696a97568c96e0e4cf5badb08190653eb48b1d Mon Sep 17 00:00:00 2001 From: Timo Stollenwerk Date: Wed, 10 Jun 2009 20:13:29 +0000 Subject: [PATCH] add enabled property to IConversation interface. svn path=/plone.app.discussion/trunk/; revision=27368 --- plone/app/discussion/interfaces.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/plone/app/discussion/interfaces.py b/plone/app/discussion/interfaces.py index f516925..288f0b1 100644 --- a/plone/app/discussion/interfaces.py +++ b/plone/app/discussion/interfaces.py @@ -80,6 +80,10 @@ class IConversation(IIterableMapping): size specified. """ + def enabled(): + """Return True if discussion is enabled on this conversation. + """ + def getThreads(start=0, size=None, root=0, depth=None): """Return a batch of comment objects for rendering.