summaryrefslogtreecommitdiffstats
path: root/apps/admin_audit
diff options
context:
space:
mode:
authorTiago Flores <tiago.flores@yahoo.com.br>2020-01-28 15:33:52 -0300
committerTiago Flores <tiago.flores@yahoo.com.br>2020-02-03 16:33:36 -0300
commit7b7db699e9d54da61eea9b62f97fea278cb0499e (patch)
tree95d6e74548ea8657144902dcc27ec1ec4fb2bbc7 /apps/admin_audit
parent906348ca145058c68f66237de487436575570a44 (diff)
downloadnextcloud-server-7b7db699e9d54da61eea9b62f97fea278cb0499e.tar.gz
nextcloud-server-7b7db699e9d54da61eea9b62f97fea278cb0499e.zip
Audit log unsharing from self
Signed-off-by: Tiago Flores <tiago.flores@yahoo.com.br>
Diffstat (limited to 'apps/admin_audit')
-rw-r--r--apps/admin_audit/lib/AppInfo/Application.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/apps/admin_audit/lib/AppInfo/Application.php b/apps/admin_audit/lib/AppInfo/Application.php
index 44d713f7df0..6d7eff012f0 100644
--- a/apps/admin_audit/lib/AppInfo/Application.php
+++ b/apps/admin_audit/lib/AppInfo/Application.php
@@ -134,6 +134,7 @@ class Application extends App {
Util::connectHook(Share::class, 'post_shared', $shareActions, 'shared');
Util::connectHook(Share::class, 'post_unshare', $shareActions, 'unshare');
+ Util::connectHook(Share::class, 'post_unshareFromSelf', $shareActions, 'unshare');
Util::connectHook(Share::class, 'post_update_permissions', $shareActions, 'updatePermissions');
Util::connectHook(Share::class, 'post_update_password', $shareActions, 'updatePassword');
Util::connectHook(Share::class, 'post_set_expiration_date', $shareActions, 'updateExpirationDate');