Following the code guidelines makes Michael happy :-)
This commit is contained in:
parent
85f2e737a4
commit
d3427be5e4
|
@ -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),
|
||||
|
|
|
@ -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),
|
||||
|
|
Loading…
Reference in New Issue