summaryrefslogtreecommitdiffstats
path: root/lib/private/connector
diff options
context:
space:
mode:
authorLukas Reschke <lukas@owncloud.com>2015-03-26 20:45:39 +0100
committerLukas Reschke <lukas@owncloud.com>2015-03-26 20:45:39 +0100
commit8ebe667202e0bbccc458a5b0ef8e3f2c8d53c829 (patch)
treefe93dfd57fbc20245ecfbf595f41f712735f9d47 /lib/private/connector
parent55fd0082aa27a4d3d9dc7194fcef150779c559f7 (diff)
downloadnextcloud-server-8ebe667202e0bbccc458a5b0ef8e3f2c8d53c829.tar.gz
nextcloud-server-8ebe667202e0bbccc458a5b0ef8e3f2c8d53c829.zip
Remove unneeded argument
Diffstat (limited to 'lib/private/connector')
-rw-r--r--lib/private/connector/sabre/filesplugin.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/private/connector/sabre/filesplugin.php b/lib/private/connector/sabre/filesplugin.php
index 1dbab7cbe31..3c79f5a7a2a 100644
--- a/lib/private/connector/sabre/filesplugin.php
+++ b/lib/private/connector/sabre/filesplugin.php
@@ -99,7 +99,7 @@ class FilesPlugin extends \Sabre\DAV\ServerPlugin {
*/
function httpGet(RequestInterface $request, ResponseInterface $response) {
// Only handle valid files
- $node = $this->tree->getNodeForPath($request->getPath(), 0);
+ $node = $this->tree->getNodeForPath($request->getPath());
if (!($node instanceof IFile)) return;
$response->addHeader('Content-Disposition', 'attachment');