]> source.dussan.org Git - nextcloud-server.git/commitdiff
Audit log unsharing from self 19236/head
authorTiago Flores <tiago.flores@yahoo.com.br>
Tue, 28 Jan 2020 18:33:52 +0000 (15:33 -0300)
committerTiago Flores <tiago.flores@yahoo.com.br>
Mon, 3 Feb 2020 19:33:36 +0000 (16:33 -0300)
Signed-off-by: Tiago Flores <tiago.flores@yahoo.com.br>
apps/admin_audit/lib/AppInfo/Application.php

index 44d713f7df083cc1fe87da197f82e5b0da4b7ac4..6d7eff012f04a19522242c9989d0125a1688b578 100644 (file)
@@ -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');