From: Lukas Reschke Date: Thu, 26 Mar 2015 19:45:39 +0000 (+0100) Subject: Remove unneeded argument X-Git-Tag: v8.1.0alpha1~152^2 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=8ebe667202e0bbccc458a5b0ef8e3f2c8d53c829;p=nextcloud-server.git Remove unneeded argument --- 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');