]> source.dussan.org Git - nextcloud-server.git/commit
Fallback to share link owner when no owner found 2819/head
authorVincent Petry <pvince81@owncloud.com>
Wed, 9 Nov 2016 11:36:35 +0000 (12:36 +0100)
committerLukas Reschke <lukas@statuscode.ch>
Thu, 22 Dec 2016 09:48:32 +0000 (10:48 +0100)
commit34d466b2f6184a1bfd886e09a45056c76bc83ee6
treecf18c8da8890de9b54c3564ad6699de7f64bc053
parent8f664a00e1e37d8a38ffe0ad2c33c3b64a1ba59c
Fallback to share link owner when no owner found

When creating link shares from external storage, the filesystem cannot
find an owner in some scenarios (ex: system-wide mounts). In such
cases, fall back to using the current user's trashbin which happens to
also be the user who created the link share.

Fixes an issue where this scenario made deletion impossible due to
missing user information.

Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
apps/files_trashbin/lib/Trashbin.php