From 219b39ed6e876b88c62c3b8caeb23731f97158d6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fr=C3=A9d=C3=A9ric=20P=C3=A9ters?= Date: Wed, 22 Apr 2015 11:35:17 +0200 Subject: [PATCH 06/11] template: remove 'admin' as location_hint (#6726) --- wcs/qommon/template.py | 4 ---- 1 file changed, 4 deletions(-) diff --git a/wcs/qommon/template.py b/wcs/qommon/template.py index 47787fb..beaef98 100644 --- a/wcs/qommon/template.py +++ b/wcs/qommon/template.py @@ -222,10 +222,6 @@ def error_page(error_message, error_title = None, exception = None, continue_to import qommon.backoffice.menu error_html_top = qommon.backoffice.menu.html_top kwargs[str('section')] = None - elif location_hint == 'admin': - import qommon.admin.menu - error_html_top = qommon.admin.menu.html_top - kwargs[str('section')] = None else: error_html_top = html_top -- 2.1.4