]> git.openstreetmap.org Git - osqa.git/commitdiff
Forgottent test code.
authorhernani <hernani@0cfe37f9-358a-4d5e-be75-b63607b5c754>
Mon, 10 May 2010 22:32:40 +0000 (22:32 +0000)
committerhernani <hernani@0cfe37f9-358a-4d5e-be75-b63607b5c754>
Mon, 10 May 2010 22:32:40 +0000 (22:32 +0000)
git-svn-id: http://svn.osqa.net/svnroot/osqa/trunk@206 0cfe37f9-358a-4d5e-be75-b63607b5c754

forum/views/readers.py

index e6afdfe33a2edff99cd91a7addc6195e1209d6c9..77d27d06ba9e8327ab3fcf55756f70a518a2f312 100644 (file)
@@ -68,8 +68,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')))