]> source.dussan.org Git - nextcloud-server.git/commitdiff
feat: Provide enterprise check in initial state feat/check-enterprise 48248/head
authorChristopher Ng <chrng8@gmail.com>
Fri, 20 Sep 2024 21:19:02 +0000 (14:19 -0700)
committerChristopher Ng <chrng8@gmail.com>
Fri, 20 Sep 2024 21:19:02 +0000 (14:19 -0700)
Signed-off-by: Christopher Ng <chrng8@gmail.com>
lib/private/Template/JSConfigHelper.php

index 44563f2938c357b879ad1b0c4e548070c7778ae0..a65eaacbd2907d71fc14298d2b42b827ec4fbfc4 100644 (file)
@@ -159,6 +159,7 @@ class JSConfigHelper {
                        'version' => implode('.', $this->serverVersion->getVersion()),
                        'versionstring' => $this->serverVersion->getVersionString(),
                        'enable_non-accessible_features' => $this->config->getSystemValueBool('enable_non-accessible_features', true),
+                       'is_enterprise' => Util::isEnterprise(),
                ];
 
                $array = [