]> source.dussan.org Git - nextcloud-server.git/commitdiff
no need to initialize the same view twice
authorBjoern Schiessle <schiessle@owncloud.com>
Fri, 30 Jan 2015 13:39:31 +0000 (14:39 +0100)
committerBjoern Schiessle <schiessle@owncloud.com>
Fri, 30 Jan 2015 13:39:31 +0000 (14:39 +0100)
apps/files_trashbin/lib/trashbin.php

index 0576be66b4b9016ab1cf8bb942ffec175eeb97c1..cf808915ec998a51bc7668d986d8ffd9c4768917 100644 (file)
@@ -152,7 +152,6 @@ class Trashbin {
 
                self::setUpTrash($user);
 
-               $view = new \OC\Files\View('/' . $user);
                $path_parts = pathinfo($file_path);
 
                $filename = $path_parts['basename'];