summaryrefslogtreecommitdiffstats
path: root/apps/files_external
diff options
context:
space:
mode:
authorThomas Mueller <thomas.mueller@tmit.eu>2013-01-06 23:28:58 +0100
committerThomas Mueller <thomas.mueller@tmit.eu>2013-01-06 23:28:58 +0100
commit4a345fd91143296790f79a92f9449a680bebb277 (patch)
tree7f3b19f51d2a31f48b974f2ef48b93e23b3c1eb1 /apps/files_external
parent7ca740fa3deb0ca9844afe6e91a622d5bf7c6c58 (diff)
downloadnextcloud-server-4a345fd91143296790f79a92f9449a680bebb277.tar.gz
nextcloud-server-4a345fd91143296790f79a92f9449a680bebb277.zip
removing undefined $response
Diffstat (limited to 'apps/files_external')
-rw-r--r--apps/files_external/lib/webdav.php6
1 files changed, 2 insertions, 4 deletions
diff --git a/apps/files_external/lib/webdav.php b/apps/files_external/lib/webdav.php
index 68aca228bc5..0e8d8fefa6c 100644
--- a/apps/files_external/lib/webdav.php
+++ b/apps/files_external/lib/webdav.php
@@ -234,12 +234,11 @@ class OC_FileStorage_DAV extends OC_Filestorage_Common{
$path1=$this->cleanPath($path1);
$path2=$this->root.$this->cleanPath($path2);
try {
- $response=$this->client->request('MOVE', $path1, null, array('Destination'=>$path2));
+ $this->client->request('MOVE', $path1, null, array('Destination'=>$path2));
return true;
} catch(Exception $e) {
echo $e;
echo 'fail';
- var_dump($response);
return false;
}
}
@@ -248,12 +247,11 @@ class OC_FileStorage_DAV extends OC_Filestorage_Common{
$path1=$this->cleanPath($path1);
$path2=$this->root.$this->cleanPath($path2);
try {
- $response=$this->client->request('COPY', $path1, null, array('Destination'=>$path2));
+ $this->client->request('COPY', $path1, null, array('Destination'=>$path2));
return true;
} catch(Exception $e) {
echo $e;
echo 'fail';
- var_dump($response);
return false;
}
}