diff options
author | Morris Jobke <hey@morrisjobke.de> | 2015-07-21 13:30:41 +0200 |
---|---|---|
committer | Morris Jobke <hey@morrisjobke.de> | 2015-07-21 13:30:41 +0200 |
commit | 2d691c2fb4f00558f4bac55fb9c6b23b85b416c5 (patch) | |
tree | 945f9952fece87ba050ba7d30b5f4bad0a3bfae4 /lib/base.php | |
parent | a35193c7043acbaa5157c6cafc78e7e71e00a1be (diff) | |
parent | 058d910f5e85ca71d20272d8ca89dc3caf64cef2 (diff) | |
download | nextcloud-server-2d691c2fb4f00558f4bac55fb9c6b23b85b416c5.tar.gz nextcloud-server-2d691c2fb4f00558f4bac55fb9c6b23b85b416c5.zip |
Merge pull request #17381 from owncloud/fix_sharing_add_to_group
[sharing] fix addToGroup hook
Diffstat (limited to 'lib/base.php')
-rw-r--r-- | lib/base.php | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/base.php b/lib/base.php index 9a682a7e90f..32fcbac7c05 100644 --- a/lib/base.php +++ b/lib/base.php @@ -800,6 +800,7 @@ class OC { if (\OC::$server->getSystemConfig()->getValue('installed')) { OC_Hook::connect('OC_User', 'post_deleteUser', 'OC\Share\Hooks', 'post_deleteUser'); OC_Hook::connect('OC_User', 'post_addToGroup', 'OC\Share\Hooks', 'post_addToGroup'); + OC_Hook::connect('OC_Group', 'pre_addToGroup', 'OC\Share\Hooks', 'pre_addToGroup'); OC_Hook::connect('OC_User', 'post_removeFromGroup', 'OC\Share\Hooks', 'post_removeFromGroup'); OC_Hook::connect('OC_User', 'post_deleteGroup', 'OC\Share\Hooks', 'post_deleteGroup'); } |