Browse Source

[REM] auth="admin" removed

bzr revid: fme@openerp.com-20140129171933-e61qp9p5xfdwyw89
master
Fabien Meghazi 8 years ago
parent
commit
04a52645c0
  1. 5
      openerp/addons/base/ir/ir_http.py

5
openerp/addons/base/ir/ir_http.py

@ -61,11 +61,6 @@ class ir_http(osv.AbstractModel):
if not request.uid:
raise http.SessionExpiredException("Session expired")
def _auth_method_admin(self):
if not request.db:
raise http.SessionExpiredException("No valid database for request %s" % request.httprequest)
request.uid = openerp.SUPERUSER_ID
def _auth_method_none(self):
request.disable_db = True
request.uid = None

Loading…
Cancel
Save