]> git.openstreetmap.org Git - osqa.git/blobdiff - forum/context.py
Correct text
[osqa.git] / forum / context.py
index 641af38243d484d10d338e9ed8c57fdead6b78a4..957b5f91d800c55d2a5924f0d50abdd958dffe90 100644 (file)
@@ -6,18 +6,12 @@ def application_settings(context):
 def auth_processor(request):
     if hasattr(request, 'user'):
         user = request.user
-        if user.is_authenticated():
-            messages = user.message_set.all()
-        else:
-            messages = None
     else:
         from django.contrib.auth.models import AnonymousUser
         user = AnonymousUser()
-        messages = None
 
     from django.core.context_processors import PermWrapper
     return {
         'user': user,
-        'messages': messages,
         'perms': PermWrapper(user),
     }