diff -r 1676d316171d -r eba0e1b033ab server/session.py --- a/server/session.py Thu Apr 03 17:25:53 2014 +0200 +++ b/server/session.py Fri Apr 04 10:46:53 2014 +0200 @@ -1748,10 +1748,6 @@ super(InternalSession, self).__init__(InternalManager(), repo, cnxprops, _id='internal') self.user._cw = self # XXX remove when "vreg = user._cw.vreg" hack in entity.py is gone - if not safe: - self.disable_hook_categories('integrity') - self.disable_hook_categories('security') - self._cnx.ctx_count += 1 def __enter__(self): return self