Browse Source

Removed debug code

Rafał Pitoń 10 years ago
parent
commit
2e60a47bbf
1 changed files with 1 additions and 1 deletions
  1. 1 1
      misago/threads/counts.py

+ 1 - 1
misago/threads/counts.py

@@ -91,7 +91,7 @@ class UnreadThreadsCount(BaseCounter):
 
 
 
 
 def sync_user_unread_private_threads_count(user):
 def sync_user_unread_private_threads_count(user):
-    if False and not user.sync_unread_private_threads:
+    if not user.sync_unread_private_threads:
         return
         return
 
 
     threads_qs = PrivateThreads(user).get_queryset()
     threads_qs = PrivateThreads(user).get_queryset()