[Pkg-owncloud-commits] [php-sabredav] 01/31: Adding the webdav sync plugin to all the sample servers.
David Prévot
taffit at moszumanska.debian.org
Wed Aug 27 22:33:04 UTC 2014
This is an automated email from the git hooks/post-receive script.
taffit pushed a commit to branch master
in repository php-sabredav.
commit f985b2a6f65c1fd73431107c32aa7a9fad014926
Author: Evert Pot <evert at rooftopsolutions.nl>
Date: Thu Jul 10 15:22:39 2014 -0400
Adding the webdav sync plugin to all the sample servers.
---
examples/addressbookserver.php | 1 +
examples/calendarserver.php | 2 ++
2 files changed, 3 insertions(+)
diff --git a/examples/addressbookserver.php b/examples/addressbookserver.php
index dc5f7ba..1dccb01 100644
--- a/examples/addressbookserver.php
+++ b/examples/addressbookserver.php
@@ -51,6 +51,7 @@ $server->addPlugin(new Sabre\DAV\Browser\Plugin());
//$server->addPlugin(new Sabre\CalDAV\Plugin());
$server->addPlugin(new Sabre\CardDAV\Plugin());
$server->addPlugin(new Sabre\DAVACL\Plugin());
+$server->addPlugin(new Sabre\DAV\Sync\Plugin());
// And off we go!
$server->exec();
diff --git a/examples/calendarserver.php b/examples/calendarserver.php
index a9fb867..476aae1 100644
--- a/examples/calendarserver.php
+++ b/examples/calendarserver.php
@@ -60,6 +60,8 @@ $server->addPlugin(
new Sabre\CalDAV\Subscriptions\Plugin()
);
+/* WebDAV-Sync plugin */
+$server->addPlugin(new Sabre\DAV\Sync\Plugin());
// Support for html frontend
$browser = new Sabre\DAV\Browser\Plugin();
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-owncloud/php-sabredav.git
More information about the Pkg-owncloud-commits
mailing list