diff options
author | Sergio Bertolin <sbertolin@solidgear.es> | 2016-09-28 10:11:50 +0300 |
---|---|---|
committer | Sergio Bertolin <sbertolin@solidgear.es> | 2016-11-21 11:57:34 +0300 |
commit | 0819d0f0eb49a31cba4303a869cfd123c3b730b2 (patch) | |
tree | b76d3be2c0a5dc5b777f73955d74227742bee43a /build | |
parent | 6e50738d249c435c1d7ef0853bccdd2a6c060f2c (diff) |
Removed forgotten leftovers
Conflicts:
build/integration/features/bootstrap/WebDav.php
Diffstat (limited to 'build')
-rw-r--r-- | build/integration/features/bootstrap/WebDav.php | 19 |
1 files changed, 0 insertions, 19 deletions
diff --git a/build/integration/features/bootstrap/WebDav.php b/build/integration/features/bootstrap/WebDav.php index e1a3b323cec..bba1bc9ccda 100644 --- a/build/integration/features/bootstrap/WebDav.php +++ b/build/integration/features/bootstrap/WebDav.php @@ -40,14 +40,6 @@ trait WebDav { $this->usingOldDavPath = false; } - /*public function getDavFilesPath($user){ - if ($this->usingOldDavPath === true){ - return $this->davPath . '/'; - } else { - return $this->davPath . '/files/' . $user . '/'; - } - }*/ - public function getDavFilesPath($user){ if ($this->usingOldDavPath === true){ return $this->davPath; @@ -56,19 +48,8 @@ trait WebDav { } } - public function getFilesPath($user){ - $basePath = ''; - if ($this->davPath === "remote.php/dav"){ - $basePath = '/files/' . $this->currentUser . '/'; - } else { - $basePath = '/'; - } - return $basePath; - } - public function makeDavRequest($user, $method, $path, $headers, $body = null, $type = "files"){ if ( $type === "files" ){ - echo "user: " . $user . " method: " . $method . " path: " . $path . " type: " . $type; $fullUrl = substr($this->baseUrl, 0, -4) . $this->getDavFilesPath($user) . "$path"; } else if ( $type === "uploads" ){ $fullUrl = substr($this->baseUrl, 0, -4) . $this->davPath . "$path"; |