diff options
author | Morris Jobke <hey@morrisjobke.de> | 2020-07-07 21:17:25 +0200 |
---|---|---|
committer | Morris Jobke <hey@morrisjobke.de> | 2020-07-30 10:21:08 +0200 |
commit | 36ee37ec0af53b9b01612b2ce335e5aa9590d024 (patch) | |
tree | 5e523263051fe065d9caa02a5d75b6d49a155123 /lib/private/Share20 | |
parent | 788366500d10a018845390c51e9f60b331e7cc48 (diff) | |
download | nextcloud-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.php | 4 |
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']); - } } |