Skip to content

Commit

Permalink
Always import discussions independent if discussion support is enable…
Browse files Browse the repository at this point in the history
…d or not on a particular content object (#182)
  • Loading branch information
zopyx committed Feb 27, 2023
1 parent 8a47e3a commit 17daafc
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 4 additions & 0 deletions CHANGES.rst
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,10 @@ Changelog
- Add example for importing collective.jsonify data to documentation.
[pbauer]

- Always import discussions independent if discussion support is enabled or not
on a particular content object (#182)
[ajung]


1.7 (2023-01-20)
----------------
Expand Down
2 changes: 0 additions & 2 deletions src/collective/exportimport/import_other.py
Original file line number Diff line number Diff line change
Expand Up @@ -601,8 +601,6 @@ def import_data(self, data):
obj = api.content.get(UID=conversation_data["uuid"])
if not obj:
continue
if not obj.restrictedTraverse("@@conversation_view").enabled():
continue
added = 0
conversation = IConversation(obj)

Expand Down

0 comments on commit 17daafc

Please sign in to comment.