Commit 57229c6f authored by Rafael Monnerat's avatar Rafael Monnerat

File and link is not part of Business Configuration anymore.

parent a9755e5b
......@@ -390,7 +390,7 @@ class BusinessConfiguration(Item):
Remove all traces from user input (i.e. Configuration Saves, workflow history).
"""
object_ids = []
for obj in self.contentValues(filter={'portal_type': ['Configuration Save', 'File', 'Link']}):
for obj in self.contentValues(filter={'portal_type': ['Configuration Save']}):
object_ids.append(obj.getId())
self.manage_delObjects(object_ids)
del self.workflow_history
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment