hooks/syncsession.py
changeset 10828 0e5a9a03a79d
parent 10666 7f6b5f023884
child 11127 6464edfa95bb
--- a/hooks/syncsession.py	Wed Nov 04 12:04:33 2015 +0100
+++ b/hooks/syncsession.py	Wed Sep 16 11:31:36 2015 +0200
@@ -114,7 +114,7 @@
     def __call__(self):
         """modify user permission, need to update users"""
         for session in get_user_sessions(self._cw.repo, self.entity.eid):
-            _DelUserOp(self._cw, session.id)
+            _DelUserOp(self._cw, session.sessionid)
 
 
 # CWProperty hooks #############################################################