From a2bbc1b3173d7e4106a27e7a99d61bea10ba6181 Mon Sep 17 00:00:00 2001 From: Georg Ehrke Date: Sun, 28 Oct 2012 10:48:08 +0100 Subject: remove 3rdparty files --- .../Sabre/DAV/Exception/PreconditionFailed.php | 69 ---------------------- 1 file changed, 69 deletions(-) delete mode 100644 3rdparty/Sabre/DAV/Exception/PreconditionFailed.php (limited to '3rdparty/Sabre/DAV/Exception/PreconditionFailed.php') diff --git a/3rdparty/Sabre/DAV/Exception/PreconditionFailed.php b/3rdparty/Sabre/DAV/Exception/PreconditionFailed.php deleted file mode 100644 index 213e9c52317..00000000000 --- a/3rdparty/Sabre/DAV/Exception/PreconditionFailed.php +++ /dev/null @@ -1,69 +0,0 @@ -header = $header; - - } - - /** - * Returns the HTTP statuscode for this exception - * - * @return int - */ - public function getHTTPCode() { - - return 412; - - } - - /** - * This method allows the exception to include additional information into the WebDAV error response - * - * @param Sabre_DAV_Server $server - * @param DOMElement $errorNode - * @return void - */ - public function serialize(Sabre_DAV_Server $server,DOMElement $errorNode) { - - if ($this->header) { - $prop = $errorNode->ownerDocument->createElement('s:header'); - $prop->nodeValue = $this->header; - $errorNode->appendChild($prop); - } - - } - -} -- cgit v1.2.3