diff options
author | Bjoern Schiessle <schiessle@owncloud.com> | 2015-01-30 14:39:31 +0100 |
---|---|---|
committer | Bjoern Schiessle <schiessle@owncloud.com> | 2015-01-30 14:39:31 +0100 |
commit | 9ef96e4dd5ea10611e9741ae0303b328e7788be9 (patch) | |
tree | 631d73f72a125b0876ffc127298008f2722b79bf | |
parent | ed29c6ce86a3e53599a2fef37b4d558e57b02ca7 (diff) | |
download | nextcloud-server-9ef96e4dd5ea10611e9741ae0303b328e7788be9.tar.gz nextcloud-server-9ef96e4dd5ea10611e9741ae0303b328e7788be9.zip |
no need to initialize the same view twice
-rw-r--r-- | apps/files_trashbin/lib/trashbin.php | 1 |
1 files changed, 0 insertions, 1 deletions
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']; |