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, 1 insertions, 7 deletions
diff --git a/lib/private/OCSClient.php b/lib/private/OCSClient.php
index d864e6d4dcb..76c0b136c06 100644
--- a/lib/private/OCSClient.php
+++ b/lib/private/OCSClient.php
@@ -70,13 +70,7 @@ class OCSClient {
* @return bool
*/
public function isAppStoreEnabled() {
- // 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;
+ return $this->config->getSystemValue('appstoreenabled', true) === true;
}
/**