mirror of
https://github.com/owncloudarchive/contacts.git
synced 2025-01-30 19:52:17 +01:00
Contacts: Use OCA\Contacts\VObject\VCard for Sabre object factory.
This commit is contained in:
parent
52a72a080b
commit
a7484c50a4
@ -4,7 +4,7 @@ namespace OCA\Contacts;
|
||||
use \OCA\AppFramework\Core\API;
|
||||
|
||||
//require_once __DIR__ . '/../controller/groupcontroller.php';
|
||||
\Sabre\VObject\Component::$classMap['VCARD'] = '\OCA\Contacts\Contact';
|
||||
\Sabre\VObject\Component::$classMap['VCARD'] = '\OCA\Contacts\VObject\VCard';
|
||||
\Sabre\VObject\Property::$classMap['FN'] = '\OC\VObject\StringProperty';
|
||||
\Sabre\VObject\Property::$classMap['TITLE'] = '\OC\VObject\StringProperty';
|
||||
\Sabre\VObject\Property::$classMap['ROLE'] = '\OC\VObject\StringProperty';
|
||||
|
Loading…
x
Reference in New Issue
Block a user