summaryrefslogtreecommitdiffstats
path: root/apps/dav/lib/Upload
diff options
context:
space:
mode:
authorMorris Jobke <hey@morrisjobke.de>2018-02-13 21:55:24 +0100
committerMorris Jobke <hey@morrisjobke.de>2018-02-13 21:55:24 +0100
commite2974f1133693c022585d3758df142e0f385cb3e (patch)
treef8d1110d68580b8307e78e1844964b2df486d071 /apps/dav/lib/Upload
parent3fc6d6234e39914d8e6e7d4b9ffe0b5420d3aa2d (diff)
downloadnextcloud-server-e2974f1133693c022585d3758df142e0f385cb3e.tar.gz
nextcloud-server-e2974f1133693c022585d3758df142e0f385cb3e.zip
Simplify return statement
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
Diffstat (limited to 'apps/dav/lib/Upload')
-rw-r--r--apps/dav/lib/Upload/UploadHome.php3
1 files changed, 1 insertions, 2 deletions
diff --git a/apps/dav/lib/Upload/UploadHome.php b/apps/dav/lib/Upload/UploadHome.php
index ec31e93f4f9..6976ece9943 100644
--- a/apps/dav/lib/Upload/UploadHome.php
+++ b/apps/dav/lib/Upload/UploadHome.php
@@ -90,7 +90,6 @@ class UploadHome implements ICollection {
}
$view = new View('/' . $user->getUID() . '/uploads');
$rootInfo = $view->getFileInfo('');
- $impl = new Directory($view, $rootInfo);
- return $impl;
+ return new Directory($view, $rootInfo);
}
}