Merge pull request #11092 from owncloud/conceal_sabredav_version

Conceal or display SabreDAV version number.
This commit is contained in:
Lukas Reschke 2014-09-17 10:35:50 +02:00
commit 0d37e16499
1 changed files with 8 additions and 0 deletions

View File

@ -38,6 +38,14 @@ class OC_Connector_Sabre_Server extends Sabre\DAV\Server {
*/
private $ignoreRangeHeader = false;
/**
* @see \Sabre\DAV\Server
*/
public function __construct($treeOrNode = null) {
parent::__construct($treeOrNode);
self::$exposeVersion = false;
}
public function getRequestUri() {
if (!is_null($this->overLoadedUri)) {