]> git.openstreetmap.org Git - osqa.git/blobdiff - forum_modules/sximporter/importer.py
#OSQA-603, removing the previously added in commit 857 call to the save method. It...
[osqa.git] / 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)