Browse Source

Fixed build

Rafał Pitoń 10 years ago
parent
commit
54fec253f3
1 changed files with 3 additions and 3 deletions
  1. 3 3
      misago/threads/views/generic/forum/actions.py

+ 3 - 3
misago/threads/views/generic/forum/actions.py

@@ -366,9 +366,9 @@ class ForumActions(Actions):
 
 
     def action_delete(self, request, threads):
     def action_delete(self, request, threads):
         changed_threads = 0
         changed_threads = 0
-            for thread in threads:
-                if moderation.delete_thread(request.user, thread):
-                    changed_threads += 1
+        for thread in threads:
+            if moderation.delete_thread(request.user, thread):
+                changed_threads += 1
 
 
         if changed_threads:
         if changed_threads:
             with atomic():
             with atomic():