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

25 lines
946 B
PHP
Raw Normal View History

2011-08-06 22:32:06 +02:00
<?php
OC::$CLASSPATH['OC_Contacts_App'] = 'apps/contacts/lib/app.php';
2011-08-06 22:32:06 +02:00
OC::$CLASSPATH['OC_Contacts_Addressbook'] = 'apps/contacts/lib/addressbook.php';
OC::$CLASSPATH['OC_Contacts_VCard'] = 'apps/contacts/lib/vcard.php';
2011-08-10 14:28:14 +02:00
OC::$CLASSPATH['OC_Contacts_Hooks'] = 'apps/contacts/lib/hooks.php';
2011-08-06 22:32:06 +02:00
OC::$CLASSPATH['OC_Connector_Sabre_CardDAV'] = 'apps/contacts/lib/connector_sabre.php';
OC_HOOK::connect('OC_User', 'post_deleteUser', 'OC_Contacts_Hooks', 'deleteUser');
2011-08-06 22:32:06 +02:00
OC_App::register( array(
2011-08-06 22:32:06 +02:00
'order' => 10,
'id' => 'contacts',
'name' => 'Contacts' ));
OC_App::addNavigationEntry( array(
2011-08-06 22:32:06 +02:00
'id' => 'contacts_index',
'order' => 10,
'href' => OC_Helper::linkTo( 'contacts', 'index.php' ),
'icon' => OC_Helper::imagePath( 'settings', 'users.svg' ),
2012-02-12 16:11:41 +01:00
'name' => OC_Contacts_App::$l10n->t('Contacts') ));
OC_APP::registerPersonal('contacts','settings');
2012-01-15 11:40:32 +01:00
OC_UTIL::addScript('contacts', 'loader');
2012-02-12 16:11:41 +01:00
require_once('apps/contacts/lib/search.php');