diff options
author | Thomas Tanghus <thomas@tanghus.net> | 2012-08-24 14:26:06 +0200 |
---|---|---|
committer | Thomas Tanghus <thomas@tanghus.net> | 2012-08-24 14:26:06 +0200 |
commit | 46d6fd15e4cc02d45079ffc688be0684e61f1434 (patch) | |
tree | f9f3b34f17fedb34821c4a00b8945f74fcc01a25 /apps/calendar/appinfo/remote.php | |
parent | d1421ca5ab089d211b594d868d711a6f03527f91 (diff) | |
download | nextcloud-server-46d6fd15e4cc02d45079ffc688be0684e61f1434.tar.gz nextcloud-server-46d6fd15e4cc02d45079ffc688be0684e61f1434.zip |
Implemented sharing api for CalDAV.
Diffstat (limited to 'apps/calendar/appinfo/remote.php')
-rw-r--r-- | apps/calendar/appinfo/remote.php | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/apps/calendar/appinfo/remote.php b/apps/calendar/appinfo/remote.php index dd605072ce7..f499d909666 100644 --- a/apps/calendar/appinfo/remote.php +++ b/apps/calendar/appinfo/remote.php @@ -21,15 +21,15 @@ $principalBackend = new OC_Connector_Sabre_Principal(); $caldavBackend = new OC_Connector_Sabre_CalDAV(); // Root nodes -$Sabre_CalDAV_Principal_Collection = new Sabre_CalDAV_Principal_Collection($principalBackend); +$Sabre_CalDAV_Principal_Collection = new Sabre_CalDAV_Principal_Collection($principalBackend); $Sabre_CalDAV_Principal_Collection->disableListing = true; // Disable listening -$Sabre_CalDAV_CalendarRootNode = new Sabre_CalDAV_CalendarRootNode($principalBackend, $caldavBackend); -$Sabre_CalDAV_CalendarRootNode->disableListing = true; // Disable listening +$calendarRoot = new OC_Connector_Sabre_CalDAV_CalendarRoot($principalBackend, $caldavBackend); +$calendarRoot->disableListing = true; // Disable listening -$nodes = array( - $Sabre_CalDAV_Principal_Collection, - $Sabre_CalDAV_CalendarRootNode, +$nodes = array( + $Sabre_CalDAV_Principal_Collection, + $calendarRoot, ); // Fire up server |