[dbapi] retire repo.call_service which was used by the dbapi
authorAurelien Campeas <aurelien.campeas@logilab.fr>
Tue, 17 Mar 2015 15:57:22 +0100
changeset 10340 233b4b49d968
parent 10339 5dc6dc2c0de9
child 10341 57c5ec22922d
[dbapi] retire repo.call_service which was used by the dbapi Related to #3933480.
server/repository.py
--- a/server/repository.py	Tue Mar 17 15:55:52 2015 +0100
+++ b/server/repository.py	Tue Mar 17 15:57:22 2015 +0100
@@ -710,15 +710,6 @@
         del self._sessions[sessionid]
         self.info('closed session %s for user %s', sessionid, session.user.login)
 
-    def call_service(self, sessionid, regid, **kwargs):
-        """
-        See :class:`cubicweb.dbapi.Connection.call_service`
-        and :class:`cubicweb.server.Service`
-        """
-        # XXX lack a txid
-        session = self._get_session(sessionid)
-        return session._cnx.call_service(regid, **kwargs)
-
     def undoable_transactions(self, sessionid, ueid=None, txid=None,
                               **actionfilters):
         """See :class:`cubicweb.dbapi.Connection.undoable_transactions`"""