Skip to content

Commit

Permalink
Merge pull request #188 from collective/always-import-discussions
Browse files Browse the repository at this point in the history
  • Loading branch information
pbauer authored Feb 27, 2023
2 parents 8a47e3a + 17daafc commit 6e802f7
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 6e802f7

Please sign in to comment.