[REM] Removed database check, this is not the role of the controller to reject a bad database name
bzr revid: fme@openerp.com-20130305165144-1nzgf3urk4ke20ty
This commit is contained in:
parent
0f03ed38f0
commit
7b154aa8e0
|
@ -115,8 +115,6 @@ def db_monodb_list(req):
|
|||
if not db:
|
||||
first_db = dbs[0] if dbs else False
|
||||
db = req.httprequest.cookies.get('last_used_database') or first_db
|
||||
if db not in dbs:
|
||||
db = False
|
||||
|
||||
redirect = False
|
||||
if db and db_url is not db and len(dbs) > 1:
|
||||
|
|
Loading…
Reference in New Issue