From 4c9729159835bb796a30ff39042c5bd8c69ae6d5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Norman=20J=C3=A4ckel?= Date: Fri, 23 Nov 2012 11:33:34 +0100 Subject: [PATCH] Remove non-used revision template var. --- openslides/global_settings.py | 1 - openslides/utils/utils.py | 6 ------ 2 files changed, 7 deletions(-) diff --git a/openslides/global_settings.py b/openslides/global_settings.py index 0186a3219..24d40aefa 100644 --- a/openslides/global_settings.py +++ b/openslides/global_settings.py @@ -132,7 +132,6 @@ TEMPLATE_CONTEXT_PROCESSORS = ( 'django.core.context_processors.request', 'django.core.context_processors.i18n', 'django.core.context_processors.static', - 'openslides.utils.utils.revision', 'openslides.utils.auth.anonymous_context_additions', ) diff --git a/openslides/utils/utils.py b/openslides/utils/utils.py index 41aaf7544..d2ed32e5f 100644 --- a/openslides/utils/utils.py +++ b/openslides/utils/utils.py @@ -28,12 +28,6 @@ from django.utils.translation import ugettext as _, ugettext_lazy from openslides.utils.signals import template_manipulation -from openslides import get_version - - -def revision(request): - return {'openslides_version': get_version()} - def gen_confirm_form(request, message, url): """