Skip to content

Commit 3eab8d0

Browse files
fixup: get IFactory from server via get ::class instead of using getL10NFactory function
Co-authored-by: Carl Schwan <[email protected]> Signed-off-by: Salvatore Martire <[email protected]>
1 parent ce8e8bd commit 3eab8d0

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

apps/dav/lib/Connector/Sabre/ServerFactory.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -255,7 +255,7 @@ private function initRootCollection(SimpleCollection $rootCollection, Directory|
255255
\OCP\Server::get(ProxyMapper::class),
256256
\OCP\Server::get(KnownUserService::class),
257257
\OCP\Server::get(IConfig::class),
258-
\OC::$server->getL10NFactory(),
258+
\OCP\Server::get(IFactory::class),
259259
);
260260

261261
// Mount the share collection at /public.php/dav/files/<share token>

0 commit comments

Comments
 (0)