Commit 6eeba69c authored by Aurel's avatar Aurel

remove use of check_allowed parameter in newContent

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@13913 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 518fb00c
...@@ -66,7 +66,7 @@ class TrashTool(BaseTool): ...@@ -66,7 +66,7 @@ class TrashTool(BaseTool):
path += '_items' path += '_items'
if path not in backup_object_container.objectIds(): if path not in backup_object_container.objectIds():
backup_object_container = backup_object_container.newContent(portal_type='Trash Folder', id=path, backup_object_container = backup_object_container.newContent(portal_type='Trash Folder', id=path,
is_indexable=0, check_allowed=0) is_indexable=0)
backup_object_container.edit(isHidden=1) backup_object_container.edit(isHidden=1)
else: else:
backup_object_container = backup_object_container._getOb(path) backup_object_container = backup_object_container._getOb(path)
......
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