mirror of
https://github.com/owncloudarchive/contacts.git
synced 2024-11-29 11:24:11 +01:00
93556984f2
Conflicts: apps/calendar/js/loader.js apps/contacts/index.php apps/contacts/js/loader.js apps/files/js/files.js apps/files_sharing/sharedstorage.php lib/filesystemview.php
27 lines
1.4 KiB
PHP
27 lines
1.4 KiB
PHP
<?php
|
|
OC::$CLASSPATH['OC_Contacts_App'] = 'apps/contacts/lib/app.php';
|
|
OC::$CLASSPATH['OC_Contacts_Addressbook'] = 'apps/contacts/lib/addressbook.php';
|
|
OC::$CLASSPATH['OC_Contacts_VCard'] = 'apps/contacts/lib/vcard.php';
|
|
OC::$CLASSPATH['OC_Contacts_Hooks'] = 'apps/contacts/lib/hooks.php';
|
|
OC::$CLASSPATH['OC_Contacts_Share'] = 'apps/contacts/lib/share.php';
|
|
OC::$CLASSPATH['OC_Connector_Sabre_CardDAV'] = 'apps/contacts/lib/connector_sabre.php';
|
|
OC::$CLASSPATH['Sabre_CardDAV_VCFExportPlugin'] = 'apps/contacts/lib/VCFExportPlugin.php';
|
|
OC::$CLASSPATH['OC_Search_Provider_Contacts'] = 'apps/contacts/lib/search.php';
|
|
OCP\Util::connectHook('OC_User', 'post_createUser', 'OC_Contacts_Hooks', 'createUser');
|
|
OCP\Util::connectHook('OC_User', 'post_deleteUser', 'OC_Contacts_Hooks', 'deleteUser');
|
|
OCP\Util::connectHook('OC_Calendar', 'getEvents', 'OC_Contacts_Hooks', 'getBirthdayEvents');
|
|
OCP\Util::connectHook('OC_Calendar', 'getSources', 'OC_Contacts_Hooks', 'getCalenderSources');
|
|
|
|
OCP\App::addNavigationEntry( array(
|
|
'id' => 'contacts_index',
|
|
'order' => 10,
|
|
'href' => OCP\Util::linkTo( 'contacts', 'index.php' ),
|
|
'icon' => OCP\Util::imagePath( 'settings', 'users.svg' ),
|
|
'name' => OC_L10N::get('contacts')->t('Contacts') ));
|
|
|
|
|
|
OCP\App::registerPersonal('contacts', 'settings');
|
|
OCP\Util::addscript('contacts', 'loader');
|
|
OC_Search::registerProvider('OC_Search_Provider_Contacts');
|
|
OCP\Share::registerBackend('addressbook', 'OC_Contacts_Share');
|