summaryrefslogtreecommitdiffstats
path: root/apps/files_sharing/lib/Hooks.php
diff options
context:
space:
mode:
Diffstat (limited to 'apps/files_sharing/lib/Hooks.php')
-rw-r--r--apps/files_sharing/lib/Hooks.php2
1 files changed, 2 insertions, 0 deletions
diff --git a/apps/files_sharing/lib/Hooks.php b/apps/files_sharing/lib/Hooks.php
index cd66fd7702e..99e876eaaf0 100644
--- a/apps/files_sharing/lib/Hooks.php
+++ b/apps/files_sharing/lib/Hooks.php
@@ -42,6 +42,8 @@ class Hooks {
\OC::$server->query(\OCP\OCS\IDiscoveryService::class),
\OC::$server->getCloudFederationProviderManager(),
\OC::$server->getCloudFederationFactory(),
+ \OC::$server->getGroupManager(),
+ \OC::$server->getUserManager(),
$params['uid']);
$manager->removeUserShares($params['uid']);