diff --git a/addons/web/controllers/main.py b/addons/web/controllers/main.py index 3041058826b223dadc36b8d1081df8649f03f6f5..2876114ccaf8913fda5425ca725dfbf10fabce1e 100644 --- a/addons/web/controllers/main.py +++ b/addons/web/controllers/main.py @@ -863,11 +863,6 @@ class Home(http.Controller): ]) return response - @http.route('/web/dbredirect', type='http', auth="none") - def web_db_redirect(self, redirect='/', **kw): - ensure_db() - return werkzeug.utils.redirect(redirect, 303) - def _login_redirect(self, uid, redirect=None): return redirect if redirect else '/web'