summaryrefslogtreecommitdiffstats
path: root/lib/private/ocsclient.php
diff options
context:
space:
mode:
Diffstat (limited to 'lib/private/ocsclient.php')
-rw-r--r--lib/private/ocsclient.php8
1 files changed, 7 insertions, 1 deletions
diff --git a/lib/private/ocsclient.php b/lib/private/ocsclient.php
index 1dfab4dd3a4..e2973f82605 100644
--- a/lib/private/ocsclient.php
+++ b/lib/private/ocsclient.php
@@ -68,7 +68,13 @@ class OCSClient {
* @return bool
*/
public function isAppStoreEnabled() {
- return $this->config->getSystemValue('appstoreenabled', true) === true;
+ // For a regular edition default to true, all others default to false
+ $default = false;
+ if (\OC_Util::getEditionString() === '') {
+ $default = true;
+ }
+
+ return $this->config->getSystemValue('appstoreenabled', $default) === true;
}
/**