hooks/bookmark.py
changeset 2847 c2ee28f4d4b1
parent 2841 107ba1c45227
child 3376 f5c69485381f
--- a/hooks/bookmark.py	Fri Aug 14 14:23:21 2009 +0200
+++ b/hooks/bookmark.py	Fri Aug 14 14:31:25 2009 +0200
@@ -27,5 +27,5 @@
     events = ('after_delete_relation',)
 
     def __call__(self):
-        AutoDeleteBookmarkOp(self.cw_req,
-                             bookmark=self.cw_req.entity_from_eid(self.eidfrom))
+        AutoDeleteBookmarkOp(self._cw,
+                             bookmark=self._cw.entity_from_eid(self.eidfrom))