From e2974f1133693c022585d3758df142e0f385cb3e Mon Sep 17 00:00:00 2001 From: Morris Jobke Date: Tue, 13 Feb 2018 21:55:24 +0100 Subject: Simplify return statement Signed-off-by: Morris Jobke --- apps/dav/lib/Upload/UploadHome.php | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'apps/dav/lib/Upload') 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); } } -- cgit v1.2.3