nextcloud/apps/contacts/appinfo/app.php

25 lines
912 B
PHP
Raw Normal View History

2011-08-07 00:32:06 +04:00
<?php
2012-01-13 02:43:00 +04:00
$l=new OC_L10N('contacts');
2011-08-07 00:32:06 +04:00
OC::$CLASSPATH['OC_Contacts_App'] = 'apps/contacts/lib/app.php';
2011-08-07 00:32:06 +04:00
OC::$CLASSPATH['OC_Contacts_Addressbook'] = 'apps/contacts/lib/addressbook.php';
OC::$CLASSPATH['OC_Contacts_VCard'] = 'apps/contacts/lib/vcard.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(
2011-08-07 00:32:06 +04:00
'order' => 10,
'id' => 'contacts',
'name' => 'Contacts' ));
OC_App::addNavigationEntry( array(
2011-08-07 00:32:06 +04:00
'id' => 'contacts_index',
'order' => 10,
'href' => OC_Helper::linkTo( 'contacts', 'index.php' ),
'icon' => OC_Helper::imagePath( 'settings', 'users.svg' ),
'name' => $l->t('Contacts') ));
OC_APP::registerPersonal('contacts','settings');
require_once('apps/contacts/lib/search.php');