From: Bjoern Schiessle Date: Fri, 30 Jan 2015 13:39:31 +0000 (+0100) Subject: no need to initialize the same view twice X-Git-Tag: v8.0.0RC2~18^2 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=9ef96e4dd5ea10611e9741ae0303b328e7788be9;p=nextcloud-server.git no need to initialize the same view twice --- diff --git a/apps/files_trashbin/lib/trashbin.php b/apps/files_trashbin/lib/trashbin.php index 0576be66b4b..cf808915ec9 100644 --- a/apps/files_trashbin/lib/trashbin.php +++ b/apps/files_trashbin/lib/trashbin.php @@ -152,7 +152,6 @@ class Trashbin { self::setUpTrash($user); - $view = new \OC\Files\View('/' . $user); $path_parts = pathinfo($file_path); $filename = $path_parts['basename'];