Permalink
Browse files

Remove duplicate call to encode_email_addresses

This was the cause of a bug that meant that all contacts' email addresses were
being duplicated. So for example, running `ppl email fred fred@example.org`
resulted in the email address "fred@example.org" appearing *twice* in fred's
list of email addresses.
  • Loading branch information...
1 parent 77cc6f7 commit 4c9bc1cd10b97081452e41c6804e6b858fe8e7b9 @hnrysmth hnrysmth committed Dec 27, 2012
Showing with 0 additions and 1 deletion.
  1. +0 −1 lib/ppl/adapter/vcard/vpim.rb
@@ -20,7 +20,6 @@ def encode(contact)
encode_phone_number(contact, maker)
encode_organization(contact, maker)
encode_postal_address(contact, maker)
- encode_email_addresses(contact, maker)
end
vcard.to_s
end

0 comments on commit 4c9bc1c

Please sign in to comment.