From 9ef96e4dd5ea10611e9741ae0303b328e7788be9 Mon Sep 17 00:00:00 2001
From: Bjoern Schiessle <schiessle@owncloud.com>
Date: Fri, 30 Jan 2015 14:39:31 +0100
Subject: [PATCH] no need to initialize the same view twice

---
 apps/files_trashbin/lib/trashbin.php | 1 -
 1 file changed, 1 deletion(-)

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'];
-- 
GitLab