[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:
Fabien Meghazi 2013-03-05 17:51:44 +01:00
parent 0f03ed38f0
commit 7b154aa8e0
1 changed files with 0 additions and 2 deletions

View File

@ -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: