Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/server.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/build
diff options
context:
space:
mode:
authorSergio Bertolin <sbertolin@solidgear.es>2016-09-28 10:11:50 +0300
committerSergio Bertolin <sbertolin@solidgear.es>2016-11-21 11:57:34 +0300
commit0819d0f0eb49a31cba4303a869cfd123c3b730b2 (patch)
treeb76d3be2c0a5dc5b777f73955d74227742bee43a /build
parent6e50738d249c435c1d7ef0853bccdd2a6c060f2c (diff)
Removed forgotten leftovers
Conflicts: build/integration/features/bootstrap/WebDav.php
Diffstat (limited to 'build')
-rw-r--r--build/integration/features/bootstrap/WebDav.php19
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";