Even simpler code :)

svn path=/plone.app.discussion/trunk/; revision=48886
This commit is contained in:
Hanno Schlichting 2011-04-15 16:56:17 +00:00
parent b4c5d287dd
commit 4110b41ae6

View File

@ -80,7 +80,7 @@ class ConversationView(object):
if folder_allow_discussion: if folder_allow_discussion:
if not getattr(self, 'allow_discussion', None): if not getattr(self, 'allow_discussion', None):
return True return True
elif not folder_allow_discussion: else:
if obj_flag: if obj_flag:
return True return True