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 51511ca6b64..cd66fd7702e 100644
--- a/apps/files_sharing/lib/Hooks.php
+++ b/apps/files_sharing/lib/Hooks.php
@@ -40,6 +40,8 @@ class Hooks {
\OC::$server->getHTTPClientService(),
\OC::$server->getNotificationManager(),
\OC::$server->query(\OCP\OCS\IDiscoveryService::class),
+ \OC::$server->getCloudFederationProviderManager(),
+ \OC::$server->getCloudFederationFactory(),
$params['uid']);
$manager->removeUserShares($params['uid']);