mirror of
https://github.com/FH-Complete/FHC-Core.git
synced 2026-07-23 18:02:18 +00:00
Alte Sabredav Version entfernt
This commit is contained in:
@@ -1,29 +0,0 @@
|
||||
<?php
|
||||
|
||||
class Sabre_HTTP_ResponseMock extends Sabre_HTTP_Response {
|
||||
|
||||
public $headers = array();
|
||||
public $status = '';
|
||||
public $body = '';
|
||||
|
||||
function setHeader($name,$value,$overwrite = true) {
|
||||
|
||||
$this->headers[$name] = $value;
|
||||
|
||||
}
|
||||
|
||||
function sendStatus($code) {
|
||||
|
||||
$this->status = $this->getStatusMessage($code);
|
||||
|
||||
}
|
||||
|
||||
function sendBody($body) {
|
||||
|
||||
$this->body = $body;
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
?>
|
||||
Reference in New Issue
Block a user