2011-08-11 13:22:07 +04:00
|
|
|
<?php
|
2011-08-20 17:19:43 +04:00
|
|
|
$l=new OC_L10N('calendar');
|
2011-08-22 22:09:33 +04:00
|
|
|
OC::$CLASSPATH['OC_Calendar_Calendar'] = 'apps/calendar/lib/calendar.php';
|
2011-09-15 12:14:47 +04:00
|
|
|
OC::$CLASSPATH['OC_Calendar_Object'] = 'apps/calendar/lib/object.php';
|
2011-08-11 13:22:07 +04:00
|
|
|
OC::$CLASSPATH['OC_Calendar_Hooks'] = 'apps/calendar/lib/hooks.php';
|
|
|
|
OC::$CLASSPATH['OC_Connector_Sabre_CalDAV'] = 'apps/calendar/lib/connector_sabre.php';
|
|
|
|
OC_HOOK::connect('OC_User', 'post_createUser', 'OC_Calendar_Hooks', 'deleteUser');
|
|
|
|
|
|
|
|
OC_App::register( array(
|
|
|
|
'order' => 10,
|
|
|
|
'id' => 'calendar',
|
|
|
|
'name' => 'Calendar' ));
|
|
|
|
|
|
|
|
OC_App::addNavigationEntry( array(
|
|
|
|
'id' => 'calendar_index',
|
|
|
|
'order' => 10,
|
|
|
|
'href' => OC_Helper::linkTo( 'calendar', 'index.php' ),
|
|
|
|
'icon' => OC_Helper::imagePath( 'calendar', 'icon.png' ),
|
2011-08-20 17:19:43 +04:00
|
|
|
'name' => $l->t('Calendar')));
|
2011-08-31 22:20:46 +04:00
|
|
|
|
|
|
|
OC_App::registerPersonal('calendar', 'settings');
|