mirror of
https://git.friendi.ca/friendica/friendica-addons.git
synced 2024-11-24 22:23:42 +00:00
30 lines
508 B
PHP
30 lines
508 B
PHP
<?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);
|
|
|
|
}
|
|
|
|
}
|