Even simpler code :)
svn path=/plone.app.discussion/trunk/; revision=48886
This commit is contained in:
parent
b4c5d287dd
commit
4110b41ae6
@ -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
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user