mirror of
https://git.friendi.ca/friendica/friendica-addons.git
synced 2025-07-09 18:08:49 +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
30
dav/SabreDAV/tests/Sabre/DAV/ClientMock.php
Normal file
30
dav/SabreDAV/tests/Sabre/DAV/ClientMock.php
Normal file
|
@ -0,0 +1,30 @@
|
|||
<?php
|
||||
|
||||
class Sabre_DAV_ClientMock extends Sabre_DAV_Client {
|
||||
|
||||
public $response;
|
||||
|
||||
public $url;
|
||||
public $curlSettings;
|
||||
|
||||
protected function curlRequest($url, $curlSettings) {
|
||||
|
||||
$this->url = $url;
|
||||
$this->curlSettings = $curlSettings;
|
||||
return $this->response;
|
||||
|
||||
}
|
||||
|
||||
/**
|
||||
* Just making this method public
|
||||
*
|
||||
* @param string $url
|
||||
* @return string
|
||||
*/
|
||||
public function getAbsoluteUrl($url) {
|
||||
|
||||
return parent::getAbsoluteUrl($url);
|
||||
|
||||
}
|
||||
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue