1
0
mirror of https://github.com/owncloudarchive/contacts.git synced 2025-01-30 19:52:17 +01:00

Contacts: Load backends in remote.php

This commit is contained in:
Thomas Tanghus 2013-03-10 12:53:34 +01:00
parent dffda6b021
commit d286fb653b

View File

@ -33,7 +33,11 @@ OC_App::loadApps($RUNTIME_APPTYPES);
// Backends
$authBackend = new OC_Connector_Sabre_Auth();
$principalBackend = new OC_Connector_Sabre_Principal();
$carddavBackend = new OCA\Contacts\CardDAV\Backend();
$addressbookbackends = array();
$addressbookbackends[] = new OCA\Contacts\Backend\Shared();
$addressbookbackends[] = new OCA\Contacts\Backend\Database();
$carddavBackend = new OCA\Contacts\CardDAV\Backend($addressbookbackends);
$requestBackend = new OC_Connector_Sabre_Request();
// Root nodes