diff -r e9682629df57 -r 69f69ce8241a cubicweb/entities/authobjs.py --- a/cubicweb/entities/authobjs.py Fri Mar 10 17:57:13 2017 +0100 +++ b/cubicweb/entities/authobjs.py Fri Mar 10 17:58:25 2017 +0100 @@ -173,14 +173,3 @@ return self.login dc_long_title = name - - def __call__(self, *args, **kwargs): - """ugly hack for compatibility betweeb dbapi and repo api - - In the dbapi, Connection and Session have a ``user`` method to - generated a user for a request In the repo api, Connection and Session - have a user attribute inherited from SessionRequestBase prototype. This - ugly hack allows to not break user of the user method. - - XXX Deprecate me ASAP""" - return self