From 7b7db699e9d54da61eea9b62f97fea278cb0499e Mon Sep 17 00:00:00 2001 From: Tiago Flores Date: Tue, 28 Jan 2020 15:33:52 -0300 Subject: Audit log unsharing from self Signed-off-by: Tiago Flores --- apps/admin_audit/lib/AppInfo/Application.php | 1 + 1 file changed, 1 insertion(+) (limited to 'apps/admin_audit') 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'); -- cgit v1.2.3