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
1 changed files with 1 additions and 1 deletions

View File

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