Skip to content

Commit

Permalink
removed the else condition
Browse files Browse the repository at this point in the history
  • Loading branch information
Akshat2Jain committed Nov 26, 2023
1 parent edbead6 commit 5475595
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/plone/restapi/serializer/dxcontent.py
Original file line number Diff line number Diff line change
Expand Up @@ -48,8 +48,6 @@ def get_allow_discussion_value(context, request, result):
result["allow_discussion"] = getMultiAdapter(
(context, request), name="conversation_view"
).enabled()
else:
result["allow_discussion"] = False
else:
return False

Expand Down

0 comments on commit 5475595

Please sign in to comment.