summaryrefslogtreecommitdiffstats
path: root/lib/private/Server.php
diff options
context:
space:
mode:
authorRobin Appelman <robin@icewind.nl>2023-08-15 18:21:04 +0200
committerRobin Appelman <robin@icewind.nl>2023-08-16 15:25:05 +0200
commite73889a24099091810a66623ded57346692ae2d6 (patch)
treea8740595ae494c2e02f75b5d0f854d33f64c0463 /lib/private/Server.php
parenta031bc4788229b7943a13202998e895d08161490 (diff)
downloadnextcloud-server-e73889a24099091810a66623ded57346692ae2d6.tar.gz
nextcloud-server-e73889a24099091810a66623ded57346692ae2d6.zip
cleanup di for share permissions wrapper
Signed-off-by: Robin Appelman <robin@icewind.nl>
Diffstat (limited to 'lib/private/Server.php')
-rw-r--r--lib/private/Server.php4
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/private/Server.php b/lib/private/Server.php
index e9966e83cae..f273d649443 100644
--- a/lib/private/Server.php
+++ b/lib/private/Server.php
@@ -146,6 +146,7 @@ use OC\Security\TrustedDomainHelper;
use OC\Security\VerificationToken\VerificationToken;
use OC\Session\CryptoWrapper;
use OC\Share20\ProviderFactory;
+use OC\Share20\ShareDisableChecker;
use OC\Share20\ShareHelper;
use OC\SpeechToText\SpeechToTextManager;
use OC\SystemTag\ManagerFactory as SystemTagManagerFactory;
@@ -1237,7 +1238,8 @@ class Server extends ServerContainer implements IServerContainer {
$c->get('ThemingDefaults'),
$c->get(IEventDispatcher::class),
$c->get(IUserSession::class),
- $c->get(KnownUserService::class)
+ $c->get(KnownUserService::class),
+ $c->get(ShareDisableChecker::class)
);
return $manager;