affiliatewp/AffiliateWP — pull request #160 by bradvin (2014-04-10 14:42:32+00:00)
Title: fixes for Migration issues #156

fixed offset bug as described in issue
rather call insert instead of add method for adding an affiliate
I also check for duplicates and delete the correct one based on the status

tested this on fooplugins staging. Successfully migrated 3459 affiliates across. All affiliate_ids were kept in sync :)