diff options
author | Lukas Reschke <lukas@statuscode.ch> | 2012-08-10 22:20:32 +0200 |
---|---|---|
committer | Lukas Reschke <lukas@statuscode.ch> | 2012-08-10 22:20:32 +0200 |
commit | d3427be5e40b8889fd2b23b9f716e596de29694b (patch) | |
tree | e6938da170d22d92835de8498ca52064f5f6d1b2 | |
parent | 85f2e737a401063be13d15645afd9520f6b421cc (diff) | |
download | nextcloud-server-d3427be5e40b8889fd2b23b9f716e596de29694b.tar.gz nextcloud-server-d3427be5e40b8889fd2b23b9f716e596de29694b.zip |
Following the code guidelines makes Michael happy :-)
-rw-r--r-- | apps/calendar/appinfo/remote.php | 4 | ||||
-rw-r--r-- | apps/contacts/appinfo/remote.php | 4 |
2 files changed, 6 insertions, 2 deletions
diff --git a/apps/calendar/appinfo/remote.php b/apps/calendar/appinfo/remote.php index 39f8f83b168..6669d7ce2c4 100644 --- a/apps/calendar/appinfo/remote.php +++ b/apps/calendar/appinfo/remote.php @@ -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), diff --git a/apps/contacts/appinfo/remote.php b/apps/contacts/appinfo/remote.php index 011938e2cf3..9eee55583a4 100644 --- a/apps/contacts/appinfo/remote.php +++ b/apps/contacts/appinfo/remote.php @@ -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), |