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

github.com/nextcloud/photos.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorMarcel Klehr <mklehr@gmx.net>2022-08-23 15:51:44 +0300
committerGitHub <noreply@github.com>2022-08-23 15:51:44 +0300
commit07a960d420171c73e58892f91ab6d7b43bd2acba (patch)
treecad17f375fd382e47fa81ef4b0d59b57460c88bc /lib
parent21d08d4694348df69fed4559af8cfcde269f0fef (diff)
parentfabd498b38ad7cbf44b5f58bb1d2c0b7db59f46e (diff)
Merge pull request #1155 from nextcloud/feat/faces-ui
Diffstat (limited to 'lib')
-rw-r--r--lib/Controller/PageController.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/Controller/PageController.php b/lib/Controller/PageController.php
index ddfbc50f..ac8deacb 100644
--- a/lib/Controller/PageController.php
+++ b/lib/Controller/PageController.php
@@ -104,6 +104,7 @@ class PageController extends Controller {
$this->initialStateService->provideInitialState($this->appName, 'image-mimes', Application::IMAGE_MIMES);
$this->initialStateService->provideInitialState($this->appName, 'video-mimes', Application::VIDEO_MIMES);
$this->initialStateService->provideInitialState($this->appName, 'maps', $this->appManager->isEnabledForUser('maps') === true);
+ $this->initialStateService->provideInitialState($this->appName, 'recognize', $this->appManager->isEnabledForUser('recognize') === true);
$this->initialStateService->provideInitialState($this->appName, 'croppedLayout', $this->config->getUserValue($user->getUid(), Application::APP_ID, 'croppedLayout', 'false'));
$this->initialStateService->provideInitialState($this->appName, 'systemtags', $this->appManager->isEnabledForUser('systemtags') === true);