diff options
author | Bjoern Schiessle <schiessle@owncloud.com> | 2014-10-22 17:14:30 +0400 |
---|---|---|
committer | Bjoern Schiessle <schiessle@owncloud.com> | 2014-10-22 17:14:30 +0400 |
commit | 9320225daaa2d8f5c4ddd927a8cd4c0e8e04cbf0 (patch) | |
tree | fe986635f622204575f10dd8dc25f264a7e215fa /apps | |
parent | 9ea90ac82fcc77b4d0e78cd8d1d86362286091ac (diff) |
make sure that trash bin is initialized for both the current user and the file owner
Diffstat (limited to 'apps')
-rw-r--r-- | apps/files_trashbin/lib/trashbin.php | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/apps/files_trashbin/lib/trashbin.php b/apps/files_trashbin/lib/trashbin.php index 2537c9e9d4c..e0c158ad761 100644 --- a/apps/files_trashbin/lib/trashbin.php +++ b/apps/files_trashbin/lib/trashbin.php @@ -104,6 +104,9 @@ class Trashbin { } self::setUpTrash($user); + if ($owner !== $user) { + self::setUpTrash($owner); + } $view = new \OC\Files\View('/' . $user); $path_parts = pathinfo($file_path); |