]> git.openstreetmap.org Git - osqa.git/blobdiff - forum/models/action.py
Merge pull request #5 from lra/french
[osqa.git] / forum / models / action.py
index 55cf733886bf37479df94f727b8fd2c6bb98cf24..b3cfd260f33ef8d147e6214245da998f3ac9bd58 100644 (file)
@@ -28,7 +28,7 @@ class ActionQuerySet(CachedQuerySet):
 class ActionManager(CachedManager):
     use_for_related_fields = True
 
-    def get_query_set(self):
+    def get_queryset(self):
         qs = ActionQuerySet(self.model)
 
         if self.model is not Action:
@@ -135,11 +135,7 @@ class Action(BaseModel):
         if isnew:
             if (self.node is None) or (not self.node.nis.wiki):
                 self.repute_users()
-
-        if isnew:
             self.process_action()
-
-        if isnew:
             self.trigger_hooks(threaded, True)
 
         return self