mirror of
https://github.com/owncloudarchive/contacts.git
synced 2025-01-29 18:52:18 +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
|
||||
$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
|
||||
|
Loading…
x
Reference in New Issue
Block a user