diff options
author | Roeland Jago Douma <rullzer@users.noreply.github.com> | 2020-12-10 14:30:08 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-12-10 14:30:08 +0100 |
commit | 3c693db0ca770fccd5521ecdc4da6d77ae966a73 (patch) | |
tree | 387539171b181bc1169c7ab81abf2ab2729e8486 /apps/admin_audit | |
parent | 16be144aab96796f093b557f29652e277482a2c3 (diff) | |
parent | c4ea37b8a102adec16cf13085dba2fd7ef893195 (diff) | |
download | nextcloud-server-3c693db0ca770fccd5521ecdc4da6d77ae966a73.tar.gz nextcloud-server-3c693db0ca770fccd5521ecdc4da6d77ae966a73.zip |
Merge pull request #24605 from nextcloud/enh/share-deck
Add deck share provider support
Diffstat (limited to 'apps/admin_audit')
-rw-r--r-- | apps/admin_audit/lib/Actions/Sharing.php | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/apps/admin_audit/lib/Actions/Sharing.php b/apps/admin_audit/lib/Actions/Sharing.php index 2c28660a56f..cab02ab1886 100644 --- a/apps/admin_audit/lib/Actions/Sharing.php +++ b/apps/admin_audit/lib/Actions/Sharing.php @@ -146,6 +146,19 @@ class Sharing extends Action { 'id', ] ); + } elseif ($params['shareType'] === IShare::TYPE_DECK) { + $this->log( + 'The %s "%s" with ID "%s" has been shared to the deck card "%s" with permissions "%s" (Share ID: %s)', + $params, + [ + 'itemType', + 'itemTarget', + 'itemSource', + 'shareWith', + 'permissions', + 'id', + ] + ); } } @@ -250,6 +263,18 @@ class Sharing extends Action { 'id', ] ); + } elseif ($params['shareType'] === IShare::TYPE_DECK) { + $this->log( + 'The %s "%s" with ID "%s" has been unshared from the deck card "%s" (Share ID: %s)', + $params, + [ + 'itemType', + 'fileTarget', + 'itemSource', + 'shareWith', + 'id', + ] + ); } } |