Welcome to mirror list, hosted at ThFree Co, Russian Federation.

app.php « appinfo « contacts « apps - github.com/nextcloud/server.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 7ae6be5d6e3d3e1590431be9d37ce66b4fe89984 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
<?php

OC::$CLASSPATH['OC_Contacts_Addressbook'] = 'apps/contacts/lib/addressbook.php';
OC::$CLASSPATH['OC_Contacts_Hooks'] = 'apps/contacts/lib/hooks.php';
OC::$CLASSPATH['OC_Connector_Sabre_CardDAV'] = 'apps/contacts/lib/connector_sabre.php';
OC_HOOK::connect('OC_User', 'post_createUser', 'OC_Contacts_Hooks', 'deleteUser');

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' ),
  'icon' => OC_Helper::imagePath( 'settings', 'users.svg' ),
  'name' => 'Contacts' ));