no need to initialize the same view twice

This commit is contained in:
Bjoern Schiessle 2015-01-30 14:39:31 +01:00
parent ed29c6ce86
commit 9ef96e4dd5

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