diff options
author | szaimen <szaimen@e.mail.de> | 2021-07-21 00:32:11 +0200 |
---|---|---|
committer | backportbot[bot] <backportbot[bot]@users.noreply.github.com> | 2021-07-26 11:29:41 +0000 |
commit | 4721a82f9216672b6d175a14784e06fbf5f92073 (patch) | |
tree | 02d7b5ca5de06e02d90df47b3eeeac8bb68f9ac6 /lib/private | |
parent | 11a252814ee3ef7bc331209714b0cf8313cbfc7d (diff) | |
download | nextcloud-server-4721a82f9216672b6d175a14784e06fbf5f92073.tar.gz nextcloud-server-4721a82f9216672b6d175a14784e06fbf5f92073.zip |
Admin Audit - Sharing: createShare - report the full path
Signed-off-by: szaimen <szaimen@e.mail.de>
Diffstat (limited to 'lib/private')
-rw-r--r-- | lib/private/Share20/LegacyHooks.php | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/private/Share20/LegacyHooks.php b/lib/private/Share20/LegacyHooks.php index a1f856318c9..94cfa6636d7 100644 --- a/lib/private/Share20/LegacyHooks.php +++ b/lib/private/Share20/LegacyHooks.php @@ -170,6 +170,7 @@ class LegacyHooks { 'shareWith' => $share->getSharedWith(), 'itemTarget' => $share->getTarget(), 'fileTarget' => $share->getTarget(), + 'path' => $share->getNode()->getPath(), ]; \OC_Hook::emit(Share::class, 'post_shared', $postHookData); |