owncloud/contacts — pull request #598 by tribut (2014-08-10 18:41:30+00:00)
Title: Use correct method to extract image from vcard

It was incorrectly assumed, that `$vcard` is always an `OCA\Contacts\Contact` (which is true when the contacts app is rendered) but when called from the `contactUpdated` hook, it actually is a `OCA\Contacts\VObject\VCard`.

Fixes owncloud/contacts#585