Commit ed05bb7b authored by Florent Guillaume's avatar Florent Guillaume

Don't recurse explicitely, and shut up deprecation warnings.

parent 1263773f
......@@ -46,7 +46,12 @@ class ItemForDeletion(SimpleItem):
self.before_delete_called = True
if self.fail_on_delete:
raise DeleteFailed
return SimpleItem.manage_beforeDelete(self, item, container)
def manage_afterAdd(self, item, container):
pass
def manage_afterClone(self, item):
pass
from Products.Five.eventconfigure import setDeprecatedManageAddDelete
setDeprecatedManageAddDelete(ItemForDeletion)
......
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