mirror of
https://git.friendi.ca/friendica/friendica-addons.git
synced 2025-07-09 01:48:48 +00:00
Initial Release of the calendar plugin
This commit is contained in:
parent
45cc9885fc
commit
7115197a33
561 changed files with 189494 additions and 0 deletions
27
dav/SabreDAV/tests/Sabre/HTTP/ResponseMock.php
Normal file
27
dav/SabreDAV/tests/Sabre/HTTP/ResponseMock.php
Normal file
|
@ -0,0 +1,27 @@
|
|||
<?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;
|
||||
|
||||
}
|
||||
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue