diff options
author | Joas Schilling <nickvergessen@gmx.de> | 2016-04-11 15:05:20 +0200 |
---|---|---|
committer | Joas Schilling <nickvergessen@gmx.de> | 2016-04-11 15:05:20 +0200 |
commit | 8e16e7bf34efb1bd7d97ee500ffe860d94fa55eb (patch) | |
tree | 2086ff247cb665bc5482eba25571ea6c0ea9bb63 /lib/base.php | |
parent | ddbb9b7ec4df7654d471808ca7d7ee4ecb069471 (diff) | |
parent | 3fae4c82d261cfbc88a3df28cdbe6fea95c2936c (diff) | |
download | nextcloud-server-8e16e7bf34efb1bd7d97ee500ffe860d94fa55eb.tar.gz nextcloud-server-8e16e7bf34efb1bd7d97ee500ffe860d94fa55eb.zip |
Merge pull request #23856 from owncloud/share_remove_addtogroup_hooks
Remove pre/post_addToGroup hooks for shares
Diffstat (limited to 'lib/base.php')
-rw-r--r-- | lib/base.php | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/lib/base.php b/lib/base.php index 610ee325550..a84f12f2f27 100644 --- a/lib/base.php +++ b/lib/base.php @@ -778,8 +778,6 @@ class OC { public static function registerShareHooks() { if (\OC::$server->getSystemConfig()->getValue('installed')) { OC_Hook::connect('OC_User', 'post_deleteUser', 'OC\Share20\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'); } |