From 8ebe667202e0bbccc458a5b0ef8e3f2c8d53c829 Mon Sep 17 00:00:00 2001 From: Lukas Reschke Date: Thu, 26 Mar 2015 20:45:39 +0100 Subject: [PATCH] Remove unneeded argument --- lib/private/connector/sabre/filesplugin.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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'); -- 2.39.5