1
0
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:
Thomas Tanghus 2013-05-05 15:25:15 +02:00
parent 52a72a080b
commit a7484c50a4

View File

@ -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';