diff --git a/appinfo/remote.php b/appinfo/remote.php index ef50e4ad..2a6a3bea 100644 --- a/appinfo/remote.php +++ b/appinfo/remote.php @@ -36,10 +36,13 @@ $principalBackend = new OC_Connector_Sabre_Principal(); $carddavBackend = new OC_Connector_Sabre_CardDAV(); // Root nodes -$nodes = array( - new Sabre_CalDAV_Principal_Collection($principalBackend), +$collection = new Sabre_CalDAV_Principal_Collection($principalBackend); +$collection->disableListing = true; // Disable listening + +$nodes = array( + $collection, new Sabre_CardDAV_AddressBookRoot($principalBackend, $carddavBackend), -); + ); // Fire up server $server = new Sabre_DAV_Server($nodes);