diff options
author | Roeland Jago Douma <rullzer@owncloud.com> | 2016-04-13 15:00:12 +0200 |
---|---|---|
committer | Roeland Jago Douma <rullzer@owncloud.com> | 2016-04-13 15:00:12 +0200 |
commit | 6144ced7a09356a0aaa70cdc359613d3abf8d28e (patch) | |
tree | 53f4a3586cae4d4320141e71677e2b3dfc435052 /lib/base.php | |
parent | 15397a9c910925ac368001545ab96509a12cb0ad (diff) | |
download | nextcloud-server-6144ced7a09356a0aaa70cdc359613d3abf8d28e.tar.gz nextcloud-server-6144ced7a09356a0aaa70cdc359613d3abf8d28e.zip |
Move post_removeFromGroup to shareManager
The last sharing hook to be moved over.
* Added unit tests
* Removed old tests that relied on old behaviour
* Removed old hooks.php
Diffstat (limited to 'lib/base.php')
-rw-r--r-- | lib/base.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/base.php b/lib/base.php index 5a1d15913ba..79f5c673438 100644 --- a/lib/base.php +++ b/lib/base.php @@ -778,7 +778,7 @@ 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_removeFromGroup', 'OC\Share\Hooks', 'post_removeFromGroup'); + OC_Hook::connect('OC_User', 'post_removeFromGroup', 'OC\Share20\Hooks', 'post_removeFromGroup'); OC_Hook::connect('OC_User', 'post_deleteGroup', 'OC\Share20\Hooks', 'post_deleteGroup'); } } |