]> git.openstreetmap.org Git - osqa.git/commitdiff
undo this, it's a bit redundant
authorjordan <jordan@0cfe37f9-358a-4d5e-be75-b63607b5c754>
Wed, 9 May 2012 21:05:35 +0000 (21:05 +0000)
committerjordan <jordan@0cfe37f9-358a-4d5e-be75-b63607b5c754>
Wed, 9 May 2012 21:05:35 +0000 (21:05 +0000)
git-svn-id: http://svn.osqa.net/svnroot/osqa/trunk@1262 0cfe37f9-358a-4d5e-be75-b63607b5c754

forum/models/action.py

index 55cf733886bf37479df94f727b8fd2c6bb98cf24..7e887452dcd0451909cc618f834179ade80fd2a4 100644 (file)
@@ -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