changeset 9616 | 1cbdd0b25805 |
parent 8544 | 3d049071957e |
--- a/hooks/bookmark.py Tue Apr 01 16:32:28 2014 +0200 +++ b/hooks/bookmark.py Tue Apr 01 16:32:49 2014 +0200 @@ -25,7 +25,7 @@ class AutoDeleteBookmarkOp(hook.Operation): bookmark = None # make pylint happy def precommit_event(self): - if not self.session.deleted_in_transaction(self.bookmark.eid): + if not self.cnx.deleted_in_transaction(self.bookmark.eid): if not self.bookmark.bookmarked_by: self.bookmark.cw_delete()