1
0
mirror of https://github.com/owncloudarchive/contacts.git synced 2025-01-29 18:52:18 +01:00

Use bootstrap code from Mail

This commit is contained in:
LEDfan 2015-09-09 16:31:14 +02:00
parent fd478b2381
commit b834a2d92f

View File

@ -15,4 +15,8 @@ OCP\Util::connectHook('OCA\Contacts', 'pre_deleteContact', '\OCA\Contacts\Hooks'
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');
if (version_compare(implode('.', \OCP\Util::getVersion()), '8.2', '>=')) {
\OC::$loader->addValidRoot(OC::$SERVERROOT . '/tests');
\OC_App::loadApp('contacts');
}