diff options
Diffstat (limited to 'lib/Kolab/CardDAV/ContactsBackend.php')
-rw-r--r-- | lib/Kolab/CardDAV/ContactsBackend.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/Kolab/CardDAV/ContactsBackend.php b/lib/Kolab/CardDAV/ContactsBackend.php index f43edb5..5ce2be7 100644 --- a/lib/Kolab/CardDAV/ContactsBackend.php +++ b/lib/Kolab/CardDAV/ContactsBackend.php @@ -313,7 +313,7 @@ class ContactsBackend extends CardDAV\Backend\AbstractBackend 'id' => $contact['uid'], 'uri' => $contact['uid'] . '.vcf', 'lastmodified' => is_a($contact['changed'], 'DateTime') ? $contact['changed']->format('U') : null, - 'carddata' => $this->_to_vcard($contact), + 'carddata' => $this->to_vcard($contact), 'etag' => self::_get_etag($contact), ); } @@ -613,7 +613,7 @@ class ContactsBackend extends CardDAV\Backend\AbstractBackend * @param array Hash array with contact properties from libkolab * @return string VCARD string containing the contact data */ - private function _to_vcard($contact) + public function to_vcard($contact) { $vc = VObject\Component::create('VCARD'); $vc->version = '3.0'; |