diff options
author | szaimen <szaimen@e.mail.de> | 2021-07-21 00:32:11 +0200 |
---|---|---|
committer | szaimen (Rebase PR Action) <szaimen@e.mail.de> | 2021-07-22 14:20:05 +0000 |
commit | 4570bb4f65b9e7683e3ae0296585e460aa3c9470 (patch) | |
tree | 39b45da7714118eb544f756382fb705fed82e68b /lib/private/Share20 | |
parent | 4301267373ed6bb215a0f193ffacbc92f9781255 (diff) | |
download | nextcloud-server-4570bb4f65b9e7683e3ae0296585e460aa3c9470.tar.gz nextcloud-server-4570bb4f65b9e7683e3ae0296585e460aa3c9470.zip |
Admin Audit - Sharing: createShare - report the full path
Signed-off-by: szaimen <szaimen@e.mail.de>
Diffstat (limited to 'lib/private/Share20')
-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); |