1
0
mirror of https://github.com/owncloudarchive/contacts.git synced 2024-11-29 11:24:11 +01:00

Load our app in bootstrap after change in core

This commit is contained in:
LEDfan 2015-09-09 16:27:53 +02:00
parent d11037c1e5
commit fd478b2381

View File

@ -14,3 +14,5 @@ OC_Hook::clear();
OCP\Util::connectHook('OCA\Contacts', 'pre_deleteContact', '\OCA\Contacts\Hooks', 'contactDeletion');
Sabre\VObject\Component\VCard::$componentMap['VCARD'] = '\OCA\Contacts\VObject\VCard';
Sabre\VObject\Component\VCard::$propertyMap['CATEGORIES'] = '\OCA\Contacts\VObject\GroupProperty';
\OC_App::loadApp('my_app');