aboutsummaryrefslogtreecommitdiffstats
path: root/vendor/sabre/dav/lib/CalDAV/Plugin.php
diff options
context:
space:
mode:
authorzotlabs <mike@macgirvin.com>2017-03-15 17:44:21 -0700
committerzotlabs <mike@macgirvin.com>2017-03-15 17:44:21 -0700
commitb20062efa6052e29b8d2d2a42ca966837db1c29f (patch)
treeb3d1dd541319e2abb2af6ec62f2fa3003a9e3941 /vendor/sabre/dav/lib/CalDAV/Plugin.php
parent14f16a7ef0ce1412fcccdabf6a44dd83efee9c60 (diff)
parent8d4744d115036dd7ec4169f8b1fdebebac6fb602 (diff)
downloadvolse-hubzilla-b20062efa6052e29b8d2d2a42ca966837db1c29f.tar.gz
volse-hubzilla-b20062efa6052e29b8d2d2a42ca966837db1c29f.tar.bz2
volse-hubzilla-b20062efa6052e29b8d2d2a42ca966837db1c29f.zip
Merge branch 'red' of https://github.com/zotlabs/hubzilla into red
Diffstat (limited to 'vendor/sabre/dav/lib/CalDAV/Plugin.php')
-rw-r--r--vendor/sabre/dav/lib/CalDAV/Plugin.php10
1 files changed, 5 insertions, 5 deletions
diff --git a/vendor/sabre/dav/lib/CalDAV/Plugin.php b/vendor/sabre/dav/lib/CalDAV/Plugin.php
index 71ba75206..def11d52d 100644
--- a/vendor/sabre/dav/lib/CalDAV/Plugin.php
+++ b/vendor/sabre/dav/lib/CalDAV/Plugin.php
@@ -9,11 +9,11 @@ use Sabre\DAV\INode;
use Sabre\DAV\MkCol;
use Sabre\DAV\Xml\Property\LocalHref;
use Sabre\DAVACL;
-use Sabre\VObject;
use Sabre\HTTP;
-use Sabre\Uri;
use Sabre\HTTP\RequestInterface;
use Sabre\HTTP\ResponseInterface;
+use Sabre\Uri;
+use Sabre\VObject;
/**
* CalDAV plugin
@@ -302,8 +302,8 @@ class Plugin extends DAV\ServerPlugin {
$this->server->createCollection($path, new MkCol($resourceType, $properties));
- $this->server->httpResponse->setStatus(201);
- $this->server->httpResponse->setHeader('Content-Length', 0);
+ $response->setStatus(201);
+ $response->setHeader('Content-Length', 0);
// This breaks the method chain.
return false;
@@ -926,7 +926,7 @@ class Plugin extends DAV\ServerPlugin {
);
}
- // We use an extra variable to allow event handles to tell us wether
+ // We use an extra variable to allow event handles to tell us whether
// the object was modified or not.
//
// This helps us determine if we need to re-serialize the object.