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:
parent
dffda6b021
commit
d286fb653b
@ -33,7 +33,11 @@ OC_App::loadApps($RUNTIME_APPTYPES);
|
|||||||
// Backends
|
// Backends
|
||||||
$authBackend = new OC_Connector_Sabre_Auth();
|
$authBackend = new OC_Connector_Sabre_Auth();
|
||||||
$principalBackend = new OC_Connector_Sabre_Principal();
|
$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();
|
$requestBackend = new OC_Connector_Sabre_Request();
|
||||||
|
|
||||||
// Root nodes
|
// Root nodes
|
||||||
|
Loading…
x
Reference in New Issue
Block a user