]> source.dussan.org Git - nextcloud-server.git/commitdiff
Remove unneeded argument
authorLukas Reschke <lukas@owncloud.com>
Thu, 26 Mar 2015 19:45:39 +0000 (20:45 +0100)
committerLukas Reschke <lukas@owncloud.com>
Thu, 26 Mar 2015 19:45:39 +0000 (20:45 +0100)
lib/private/connector/sabre/filesplugin.php

index 1dbab7cbe318e646d59892be16864fb7bd2474dc..3c79f5a7a2ac33d7bf92254606da0bc0ed9642c8 100644 (file)
@@ -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');