summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBjoern Schiessle <schiessle@owncloud.com>2015-01-30 14:39:31 +0100
committerBjoern Schiessle <schiessle@owncloud.com>2015-01-30 14:39:31 +0100
commit9ef96e4dd5ea10611e9741ae0303b328e7788be9 (patch)
tree631d73f72a125b0876ffc127298008f2722b79bf
parented29c6ce86a3e53599a2fef37b4d558e57b02ca7 (diff)
downloadnextcloud-server-9ef96e4dd5ea10611e9741ae0303b328e7788be9.tar.gz
nextcloud-server-9ef96e4dd5ea10611e9741ae0303b328e7788be9.zip
no need to initialize the same view twice
-rw-r--r--apps/files_trashbin/lib/trashbin.php1
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'];