summaryrefslogtreecommitdiffstats
path: root/apps/files_trashbin
diff options
context:
space:
mode:
authorLukas Reschke <lukas@owncloud.com>2015-01-31 08:52:07 +0100
committerLukas Reschke <lukas@owncloud.com>2015-01-31 08:52:07 +0100
commit012d06e8a2f447ba340256eedcd69f68f40bcb9c (patch)
treeb1d5d5c48839c84b64cc49907e7cf34f1dfe6644 /apps/files_trashbin
parentc877fbdac8b3cdeffa51fa3f6b1e1e983127113b (diff)
parent9ef96e4dd5ea10611e9741ae0303b328e7788be9 (diff)
downloadnextcloud-server-012d06e8a2f447ba340256eedcd69f68f40bcb9c.tar.gz
nextcloud-server-012d06e8a2f447ba340256eedcd69f68f40bcb9c.zip
Merge pull request #13797 from owncloud/fix_move_del_of_remote_shares
make sure that we get the correct user from the path
Diffstat (limited to 'apps/files_trashbin')
-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 ead7f3e09ca..8ce6d668d66 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'];