Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/ONLYOFFICE/onlyoffice-nextcloud.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAntipkin-A <Artem.Antipkin@onlyoffice.com>2022-07-29 13:23:39 +0300
committerAntipkin-A <Artem.Antipkin@onlyoffice.com>2022-08-01 12:04:33 +0300
commitad082fbba4fd5fc3a498743df37a4b8dc3846612 (patch)
treeb9a2ee41875d2bceb2290bd7e01872190d901217 /appinfo
parentf98cfbb3ae81426c5bbe4d6cf99986ea798c0ea2 (diff)
check lock through lock manager
Diffstat (limited to 'appinfo')
-rw-r--r--appinfo/application.php4
1 files changed, 3 insertions, 1 deletions
diff --git a/appinfo/application.php b/appinfo/application.php
index bbf013a..cd6de61 100644
--- a/appinfo/application.php
+++ b/appinfo/application.php
@@ -32,6 +32,7 @@ use OCP\Files\Template\ITemplateManager;
use OCP\Files\Template\TemplateFileCreator;
use OCA\Files\Event\LoadAdditionalScriptsEvent;
use OCP\Files\IMimeTypeDetector;
+use OCP\Files\Lock\ILockManager;
use OCP\IL10N;
use OCP\IPreview;
use OCP\ITagManager;
@@ -199,7 +200,8 @@ class Application extends App implements IBootstrap {
$this->crypt,
$c->get("IManager"),
$c->get("Session"),
- $c->get(ITagManager::class)
+ $c->get(ITagManager::class),
+ $c->get(ILockManager::class)
);
});