summaryrefslogtreecommitdiffstats
path: root/lib/base.php
diff options
context:
space:
mode:
authorRoeland Douma <rullzer@users.noreply.github.com>2016-04-12 09:46:25 +0200
committerThomas Müller <thomas.mueller@tmit.eu>2016-04-12 09:46:25 +0200
commit495a964ca2e5384f6e6a97a4c9cab73a02928634 (patch)
tree6389fd51c66801b80cd58282b92dd261f0789078 /lib/base.php
parent4ddf9f98f1189192acfeb5ba9046a4bc0b52dbe5 (diff)
downloadnextcloud-server-495a964ca2e5384f6e6a97a4c9cab73a02928634.tar.gz
nextcloud-server-495a964ca2e5384f6e6a97a4c9cab73a02928634.zip
Migrate post_groupDelete hook to share manager (#23841)
The hook now calls the share manager that will call the responsible shareProvider to do the proper cleanup. * Unit tests added Again nothing should change it is just to cleanup old code
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 a84f12f2f27..5a1d15913ba 100644
--- a/lib/base.php
+++ b/lib/base.php
@@ -779,7 +779,7 @@ class OC {
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_deleteGroup', 'OC\Share\Hooks', 'post_deleteGroup');
+ OC_Hook::connect('OC_User', 'post_deleteGroup', 'OC\Share20\Hooks', 'post_deleteGroup');
}
}