summaryrefslogtreecommitdiffstats
path: root/lib/base.php
diff options
context:
space:
mode:
authorJoas Schilling <nickvergessen@gmx.de>2016-04-07 13:01:10 +0200
committerJoas Schilling <nickvergessen@gmx.de>2016-04-07 13:01:10 +0200
commit0de15a86f057c8b0e88f353762059d4e0971b780 (patch)
tree718fc80fb91b2cf032998d49f655b4700cb26570 /lib/base.php
parent8932ec64a5d61691a506166ebbeeeb37af8b5106 (diff)
parente0cee43cf0a3899567f50a5fb03d867fc2f0327a (diff)
downloadnextcloud-server-0de15a86f057c8b0e88f353762059d4e0971b780.tar.gz
nextcloud-server-0de15a86f057c8b0e88f353762059d4e0971b780.zip
Merge pull request #23773 from owncloud/share_move_delete_user_hook
Migrate post_userDelete hook to share manager
Diffstat (limited to 'lib/base.php')
-rw-r--r--lib/base.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/base.php b/lib/base.php
index 706322fb542..a76edb1192a 100644
--- a/lib/base.php
+++ b/lib/base.php
@@ -777,7 +777,7 @@ class OC {
*/
public static function registerShareHooks() {
if (\OC::$server->getSystemConfig()->getValue('installed')) {
- OC_Hook::connect('OC_User', 'post_deleteUser', 'OC\Share\Hooks', 'post_deleteUser');
+ 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');