diff options
author | Marcel Müller <marcel-mueller@gmx.de> | 2025-03-05 11:04:55 +0100 |
---|---|---|
committer | backportbot[bot] <backportbot[bot]@users.noreply.github.com> | 2025-03-05 11:34:03 +0000 |
commit | c6ca459b40ec54bbc3c96bb5e92f1f29d0fc2624 (patch) | |
tree | 968c660533e45a7401b45f70a78ea5b9c3c620a5 /lib | |
parent | 259919e9fd7db6b1cf1c01266f8141e1b402f2d7 (diff) | |
download | nextcloud-server-backport/51259/stable30.tar.gz nextcloud-server-backport/51259/stable30.zip |
fix: No IFactory in constructorbackport/51259/stable30
Signed-off-by: Marcel Müller <marcel-mueller@gmx.de>
Diffstat (limited to 'lib')
-rw-r--r-- | lib/private/Files/View.php | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/lib/private/Files/View.php b/lib/private/Files/View.php index bffdc68bdad..32ed358f6cf 100644 --- a/lib/private/Files/View.php +++ b/lib/private/Files/View.php @@ -60,7 +60,6 @@ class View { private bool $updaterEnabled = true; private UserManager $userManager; private LoggerInterface $logger; - private IFactory $l10nFactory; /** * @throws \Exception If $root contains an invalid path @@ -75,7 +74,6 @@ class View { $this->lockingEnabled = !($this->lockingProvider instanceof \OC\Lock\NoopLockingProvider); $this->userManager = \OC::$server->getUserManager(); $this->logger = \OC::$server->get(LoggerInterface::class); - $this->l10nFactory = \OC::$server->get(IFactory::class); } /** @@ -865,7 +863,7 @@ class View { $targetPath = $targetMount->getMountPoint(); } - $l = $this->l10nFactory->get('files'); + $l = \OC::$server->get(IFactory::class)->get('files'); foreach ($mounts as $mount) { $sourcePath = $this->getRelativePath($mount->getMountPoint()); if ($sourcePath) { |