[REM] auth="admin" removed
bzr revid: fme@openerp.com-20140129171933-e61qp9p5xfdwyw89
This commit is contained in:
parent
d546e0db2f
commit
04a52645c0
|
@ -61,11 +61,6 @@ class ir_http(osv.AbstractModel):
|
||||||
if not request.uid:
|
if not request.uid:
|
||||||
raise http.SessionExpiredException("Session expired")
|
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):
|
def _auth_method_none(self):
|
||||||
request.disable_db = True
|
request.disable_db = True
|
||||||
request.uid = None
|
request.uid = None
|
||||||
|
|
Loading…
Reference in New Issue