From: qw3rty Date: Tue, 11 May 2010 15:27:52 +0000 (+0000) Subject: took out a line that was being used for testing X-Git-Tag: live~908 X-Git-Url: https://git.openstreetmap.org./osqa.git/commitdiff_plain/4bfb838efcda1ea5bd7072c685e962c0cb85dc71 took out a line that was being used for testing git-svn-id: http://svn.osqa.net/svnroot/osqa/trunk@221 0cfe37f9-358a-4d5e-be75-b63607b5c754 --- diff --git a/forum/views/readers.py b/forum/views/readers.py index 18a257e..c86794f 100644 --- a/forum/views/readers.py +++ b/forum/views/readers.py @@ -75,8 +75,6 @@ def tag(request, tag): def question_list(request, initial, list_description=_('questions'), sort=None, base_path=None, page_title=None, allowIgnoreTags=True): questions = initial.filter(deleted=None, in_moderation=None) - test = request.user.marked_tags - if request.user.is_authenticated() and allowIgnoreTags: questions = questions.filter(~Q(tags__id__in = request.user.marked_tags.filter(user_selections__reason = 'bad')))