summaryrefslogtreecommitdiffstats
path: root/apps/dav/lib/Connector/Sabre/FilesPlugin.php
diff options
context:
space:
mode:
Diffstat (limited to 'apps/dav/lib/Connector/Sabre/FilesPlugin.php')
-rw-r--r--apps/dav/lib/Connector/Sabre/FilesPlugin.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/apps/dav/lib/Connector/Sabre/FilesPlugin.php b/apps/dav/lib/Connector/Sabre/FilesPlugin.php
index 5f2bbdd12e3..e14fd691f45 100644
--- a/apps/dav/lib/Connector/Sabre/FilesPlugin.php
+++ b/apps/dav/lib/Connector/Sabre/FilesPlugin.php
@@ -197,7 +197,7 @@ class FilesPlugin extends ServerPlugin {
* @throws Forbidden
* @throws NotFound
*/
- function checkMove($source, $destination) {
+ public function checkMove($source, $destination) {
$sourceNode = $this->tree->getNodeForPath($source);
if (!$sourceNode instanceof Node) {
return;
@@ -225,7 +225,7 @@ class FilesPlugin extends ServerPlugin {
* @param RequestInterface $request
* @param ResponseInterface $response
*/
- function handleDownloadToken(RequestInterface $request, ResponseInterface $response) {
+ public function handleDownloadToken(RequestInterface $request, ResponseInterface $response) {
$queryParams = $request->getQueryParameters();
/**
@@ -249,7 +249,7 @@ class FilesPlugin extends ServerPlugin {
* @param RequestInterface $request
* @param ResponseInterface $response
*/
- function httpGet(RequestInterface $request, ResponseInterface $response) {
+ public function httpGet(RequestInterface $request, ResponseInterface $response) {
// Only handle valid files
$node = $this->tree->getNodeForPath($request->getPath());
if (!($node instanceof IFile)) {