2011-08-07 00:32:06 +04:00
|
|
|
<?php
|
|
|
|
|
|
|
|
OC::$CLASSPATH['OC_Contacts_Addressbook'] = 'apps/contacts/lib/addressbook.php';
|
2011-08-10 16:28:14 +04:00
|
|
|
OC::$CLASSPATH['OC_Contacts_Hooks'] = 'apps/contacts/lib/hooks.php';
|
2011-08-07 00:32:06 +04:00
|
|
|
OC::$CLASSPATH['OC_Connector_Sabre_CardDAV'] = 'apps/contacts/lib/connector_sabre.php';
|
2011-08-10 16:28:14 +04:00
|
|
|
OC_HOOK::connect('OC_User', 'post_createUser', 'OC_Contacts_Hooks', 'deleteUser');
|
2011-08-07 00:32:06 +04:00
|
|
|
|
|
|
|
OC_App::register( array(
|
|
|
|
'order' => 10,
|
|
|
|
'id' => 'contacts',
|
|
|
|
'name' => 'Contacts' ));
|
|
|
|
|
|
|
|
OC_App::addNavigationEntry( array(
|
|
|
|
'id' => 'contacts_index',
|
|
|
|
'order' => 10,
|
|
|
|
'href' => OC_Helper::linkTo( 'contacts', 'index.php' ),
|
2011-08-13 06:04:48 +04:00
|
|
|
'icon' => OC_Helper::imagePath( 'settings', 'users.svg' ),
|
2011-08-07 01:29:25 +04:00
|
|
|
'name' => 'Contacts' ));
|