diff options
author | Vincent Petry <pvince81@owncloud.com> | 2014-03-28 12:23:11 +0100 |
---|---|---|
committer | Vincent Petry <pvince81@owncloud.com> | 2014-03-28 12:23:11 +0100 |
commit | d0012e729aa811d44da518b192d1614c9e4b8b76 (patch) | |
tree | 7498009e295366b7408ee02e985143b00ff88aca /lib/base.php | |
parent | 5068c57845ab43e4d74ec9ff3e23d7dccc580a86 (diff) | |
parent | 31681a3a27d1f36a980a044479a5948b4310ebe5 (diff) | |
download | nextcloud-server-d0012e729aa811d44da518b192d1614c9e4b8b76.tar.gz nextcloud-server-d0012e729aa811d44da518b192d1614c9e4b8b76.zip |
Merge pull request #7879 from owncloud/sharing_cleanup_public_api
sharing api cleanup, first step
Diffstat (limited to 'lib/base.php')
-rw-r--r-- | lib/base.php | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/base.php b/lib/base.php index 4f1a0f58ef2..15a3ec8bc8a 100644 --- a/lib/base.php +++ b/lib/base.php @@ -653,10 +653,10 @@ class OC { */ public static function registerShareHooks() { if (\OC_Config::getValue('installed')) { - OC_Hook::connect('OC_User', 'post_deleteUser', 'OCP\Share', 'post_deleteUser'); - OC_Hook::connect('OC_User', 'post_addToGroup', 'OCP\Share', 'post_addToGroup'); - OC_Hook::connect('OC_User', 'post_removeFromGroup', 'OCP\Share', 'post_removeFromGroup'); - OC_Hook::connect('OC_User', 'post_deleteGroup', 'OCP\Share', 'post_deleteGroup'); + 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_User', 'post_removeFromGroup', 'OC\Share\Hooks', 'post_removeFromGroup'); + OC_Hook::connect('OC_User', 'post_deleteGroup', 'OC\Share\Hooks', 'post_deleteGroup'); } } |