aboutsummaryrefslogtreecommitdiffstats
path: root/lib/private/Share20
diff options
context:
space:
mode:
authorMorris Jobke <hey@morrisjobke.de>2020-07-07 21:17:25 +0200
committerMorris Jobke <hey@morrisjobke.de>2020-07-30 10:21:08 +0200
commit36ee37ec0af53b9b01612b2ce335e5aa9590d024 (patch)
tree5e523263051fe065d9caa02a5d75b6d49a155123 /lib/private/Share20
parent788366500d10a018845390c51e9f60b331e7cc48 (diff)
downloadnextcloud-server-36ee37ec0af53b9b01612b2ce335e5aa9590d024.tar.gz
nextcloud-server-36ee37ec0af53b9b01612b2ce335e5aa9590d024.zip
Migrate OC_Group post_removeFromGroup hook to actual event object
Ref #14552 This adds a BeforeUserRemovedEvent to the LDAP backend because it was missing. It's not really before, but we don't have the before state. Signed-off-by: Morris Jobke <hey@morrisjobke.de>
Diffstat (limited to 'lib/private/Share20')
-rw-r--r--lib/private/Share20/Hooks.php4
1 files changed, 0 insertions, 4 deletions
diff --git a/lib/private/Share20/Hooks.php b/lib/private/Share20/Hooks.php
index 0e41e20a2cd..b596123bbe0 100644
--- a/lib/private/Share20/Hooks.php
+++ b/lib/private/Share20/Hooks.php
@@ -30,8 +30,4 @@ class Hooks {
public static function post_deleteGroup($arguments) {
\OC::$server->getShareManager()->groupDeleted($arguments['gid']);
}
-
- public static function post_removeFromGroupLDAP($arguments) {
- \OC::$server->getShareManager()->userDeletedFromGroup($arguments['uid'], $arguments['gid']);
- }
}