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:
authorJakob Röhrl <jakob.roehrl@web.de>2020-10-20 15:36:47 +0300
committerCorentin Mors <corentin.mors@dashlane.com>2020-10-27 11:36:45 +0300
commitc1e3e97f224e51d10b1383b653b3d7b0943a23aa (patch)
tree2545a73aa924ed364ab97879ce65318d284e0fb6 /lib
parent238a889aa3e852bd3b21ee7676f2540abd439229 (diff)
show if tags are installed
Signed-off-by: Jakob Röhrl <jakob.roehrl@web.de>
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 4fbc9599..19f3ce7e 100644
--- a/lib/Controller/PageController.php
+++ b/lib/Controller/PageController.php
@@ -87,6 +87,7 @@ class PageController extends Controller {
$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, 'croppedLayout', $this->config->getUserValue($user->getUid(), Application::APP_ID, 'croppedLayout', 'false'));
+ $this->initialStateService->provideInitialState($this->appName, 'systemtags', $this->appManager->isEnabledForUser('systemtags') === true);
Util::addScript(Application::APP_ID, 'photos-main');
Util::addStyle(Application::APP_ID, 'icons');