Following the code guidelines makes Michael happy :-)

This commit is contained in:
Lukas Reschke 2012-08-10 22:20:32 +02:00
parent 85f2e737a4
commit d3427be5e4
2 changed files with 6 additions and 2 deletions

View File

@ -21,7 +21,9 @@ $principalBackend = new OC_Connector_Sabre_Principal();
$caldavBackend = new OC_Connector_Sabre_CalDAV();
// Root nodes
$collection = new Sabre_CalDAV_Principal_Collection($principalBackend); $collection->disableListing = true; // Disable listening
$collection = new Sabre_CalDAV_Principal_Collection($principalBackend);
$collection->disableListing = true; // Disable listening
$nodes = array(
$collection,
new Sabre_CalDAV_CalendarRootNode($principalBackend, $caldavBackend),

View File

@ -36,7 +36,9 @@ $principalBackend = new OC_Connector_Sabre_Principal();
$carddavBackend = new OC_Connector_Sabre_CardDAV();
// Root nodes
$collection = new Sabre_CalDAV_Principal_Collection($principalBackend); $collection->disableListing = true; // Disable listening
$collection = new Sabre_CalDAV_Principal_Collection($principalBackend);
$collection->disableListing = true; // Disable listening
$nodes = array(
$collection,
new Sabre_CardDAV_AddressBookRoot($principalBackend, $carddavBackend),