diff options
author | Michiel de Jong <michiel@unhosted.org> | 2023-02-20 09:50:31 +0000 |
---|---|---|
committer | Louis Chemineau <louis@chmn.me> | 2023-03-08 16:46:55 +0100 |
commit | c0e84cb512ca76cea263642918f9e045aed3c5c4 (patch) | |
tree | d1965e39eee3bc4358563a755fa43e9ac82a5ae4 /apps/admin_audit/lib | |
parent | 80e12cf72608b7c5776f02f04da98d7a5968bc73 (diff) | |
download | nextcloud-server-c0e84cb512ca76cea263642918f9e045aed3c5c4.tar.gz nextcloud-server-c0e84cb512ca76cea263642918f9e045aed3c5c4.zip |
Add SHARE_TYPE_SCIENCEMESH
Signed-off-by: Michiel de Jong <michiel@unhosted.org>
Diffstat (limited to 'apps/admin_audit/lib')
-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 329ed740b53..fd61d862e91 100644 --- a/apps/admin_audit/lib/Actions/Sharing.php +++ b/apps/admin_audit/lib/Actions/Sharing.php @@ -160,6 +160,19 @@ class Sharing extends Action { 'id', ] ); + } elseif ($params['shareType'] === IShare::TYPE_SCIENCEMESH) { + $this->log( + 'The %s "%s" with ID "%s" has been shared to the sciencemesh user "%s" with permissions "%s" (Share ID: %s)', + $params, + [ + 'itemType', + 'path', + 'itemSource', + 'shareWith', + 'permissions', + 'id', + ] + ); } } @@ -276,6 +289,18 @@ class Sharing extends Action { 'id', ] ); + } elseif ($params['shareType'] === IShare::TYPE_SCIENCEMESH) { + $this->log( + 'The %s "%s" with ID "%s" has been unshared from the sciencemesh user "%s" (Share ID: %s)', + $params, + [ + 'itemType', + 'fileTarget', + 'itemSource', + 'shareWith', + 'id', + ] + ); } } |