Skip to content

Commit

Permalink
Updated to use Five 1.3b2, and merged efge-five-events-work:
Browse files Browse the repository at this point in the history
Fixed bug that broke WebDAV access for five:defaultViewable objects. The
__browser_default__ now modifies only GET and POST requests.

Fixed some event recursion compatibility modes.
  • Loading branch information
Florent Guillaume committed Nov 10, 2005
1 parent 4d85c19 commit 82983d4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions BTreeFolder2.py
Expand Up @@ -444,15 +444,15 @@ def _setObject(self, id, object, roles=None, user=None, set_owner=1,
if not suppress_events:
notify(ObjectAddedEvent(ob, self, id))

OFS.subscribers.maybeCallDeprecated('manage_afterAdd', ob, self)
OFS.subscribers.compatibilityCall('manage_afterAdd', ob, ob, self)

return id


def _delObject(self, id, dp=1, suppress_events=False):
ob = self._getOb(id)

OFS.subscribers.maybeCallDeprecated('manage_beforeDelete', ob, self)
OFS.subscribers.compatibilityCall('manage_beforeDelete', ob, ob, self)

if not suppress_events:
notify(ObjectWillBeRemovedEvent(ob, self, id))
Expand Down

0 comments on commit 82983d4

Please sign in to comment.