Following the code guidelines makes Michael happy :-)

remotes/origin/stable45
Lukas Reschke 13 years ago
parent 85f2e737a4
commit d3427be5e4
  1. 4
      apps/calendar/appinfo/remote.php
  2. 4
      apps/contacts/appinfo/remote.php

@ -21,7 +21,9 @@ $principalBackend = new OC_Connector_Sabre_Principal();
$caldavBackend = new OC_Connector_Sabre_CalDAV(); $caldavBackend = new OC_Connector_Sabre_CalDAV();
// Root nodes // 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( $nodes = array(
$collection, $collection,
new Sabre_CalDAV_CalendarRootNode($principalBackend, $caldavBackend), new Sabre_CalDAV_CalendarRootNode($principalBackend, $caldavBackend),

@ -36,7 +36,9 @@ $principalBackend = new OC_Connector_Sabre_Principal();
$carddavBackend = new OC_Connector_Sabre_CardDAV(); $carddavBackend = new OC_Connector_Sabre_CardDAV();
// Root nodes // 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( $nodes = array(
$collection, $collection,
new Sabre_CardDAV_AddressBookRoot($principalBackend, $carddavBackend), new Sabre_CardDAV_AddressBookRoot($principalBackend, $carddavBackend),

Loading…
Cancel
Save