template: remove 'admin' as location_hint (#6726)

This commit is contained in:
Frédéric Péters 2015-04-22 11:35:17 +02:00
parent 95be42a974
commit 9e058cb1f7
1 changed files with 0 additions and 4 deletions

View File

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