]> git.openstreetmap.org Git - osqa.git/commitdiff
#OSQA-603, removing the previously added in commit 857 call to the save method. It...
authorjordan <jordan@0cfe37f9-358a-4d5e-be75-b63607b5c754>
Wed, 16 Mar 2011 20:30:26 +0000 (20:30 +0000)
committerjordan <jordan@0cfe37f9-358a-4d5e-be75-b63607b5c754>
Wed, 16 Mar 2011 20:30:26 +0000 (20:30 +0000)
git-svn-id: http://svn.osqa.net/svnroot/osqa/trunk@858 0cfe37f9-358a-4d5e-be75-b63607b5c754

forum_modules/sximporter/importer.py

index 1f71f379846fd0f66eedf4ead7de1fc13576393f..98c9dbd64872a63fdc73ee9d9d8407b7539c4a36 100644 (file)
@@ -769,9 +769,6 @@ def badges_import(dump, uidmap, post_list):
         osqaa.save()
         badge.awarded_count += 1
 
-        # After the update of the badge awarded count property we should save the model.
-        badge.save()
-
         user_badge_count[user_id] += 1
 
     readTable(dump, "Users2Badges", callback)