dbapi.py
changeset 9016 0368b94921ed
parent 8992 55a1567d92a0
child 9022 a1cee6915ea3
--- a/dbapi.py	Thu Jun 13 17:27:43 2013 +0200
+++ b/dbapi.py	Thu Jun 13 15:36:10 2013 +0200
@@ -415,13 +415,6 @@
         """return the definition of sources used by the repository."""
         return self.cnx.source_defs()
 
-    @deprecated('[3.17] do not use hijack_user. create new Session object')
-    def hijack_user(self, user):
-        """return a fake request/session using specified user"""
-        req = DBAPIRequest(self.vreg)
-        req.set_session(self.session, user)
-        return req
-
     @deprecated('[3.8] use direct access to req.session.data dictionary')
     def session_data(self):
         """return a dictionary containing session data"""