summaryrefslogtreecommitdiffstats
path: root/lib/private/Share20/Hooks.php
diff options
context:
space:
mode:
Diffstat (limited to 'lib/private/Share20/Hooks.php')
-rw-r--r--lib/private/Share20/Hooks.php4
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/private/Share20/Hooks.php b/lib/private/Share20/Hooks.php
index 93669974b28..b391ffce8d5 100644
--- a/lib/private/Share20/Hooks.php
+++ b/lib/private/Share20/Hooks.php
@@ -24,4 +24,8 @@ class Hooks {
public static function post_deleteUser($arguments) {
\OC::$server->getShareManager()->userDeleted($arguments['uid']);
}
+
+ public static function post_deleteGroup($arguments) {
+ \OC::$server->getShareManager()->groupDeleted($arguments['gid']);
+ }
}