diff options
author | Julius Härtl <jus@bitgrid.net> | 2021-07-26 12:35:48 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-07-26 12:35:48 +0200 |
commit | b31c08e536edd4a2ae6d07bf79c58fa7486b2e9b (patch) | |
tree | 93648b2ef496588a437a318f7f17c9f31212a73f /lib | |
parent | 0d5d3ad9fd12ef3337cdb4a61785d42b2ea6bc9a (diff) | |
parent | 4570bb4f65b9e7683e3ae0296585e460aa3c9470 (diff) | |
download | nextcloud-server-b31c08e536edd4a2ae6d07bf79c58fa7486b2e9b.tar.gz nextcloud-server-b31c08e536edd4a2ae6d07bf79c58fa7486b2e9b.zip |
Merge pull request #28075 from nextcloud/enh/noid/admin_audit-report-full-path
Admin Audit - Sharing: createShare - report the full path
Diffstat (limited to 'lib')
-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); |