diff options
author | Lukas Reschke <lukas@owncloud.com> | 2014-08-24 20:22:15 +0200 |
---|---|---|
committer | Lukas Reschke <lukas@owncloud.com> | 2014-08-24 20:22:15 +0200 |
commit | 4bc72cc4e0899f9b597e4dd8f3c17a2603c1059d (patch) | |
tree | db4ff84d438f9de9d7d965b565a72efc5014d67f /lib/private/ocsclient.php | |
parent | b5c2964070b86a280887349adf348bc23d4aafe7 (diff) | |
download | nextcloud-server-4bc72cc4e0899f9b597e4dd8f3c17a2603c1059d.tar.gz nextcloud-server-4bc72cc4e0899f9b597e4dd8f3c17a2603c1059d.zip |
Remove different URL for EE
This can now be achieved by setting `appstoreenabled` to `false` in config.php
Diffstat (limited to 'lib/private/ocsclient.php')
-rw-r--r-- | lib/private/ocsclient.php | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/lib/private/ocsclient.php b/lib/private/ocsclient.php index e4cce6b2260..d173f39eba7 100644 --- a/lib/private/ocsclient.php +++ b/lib/private/ocsclient.php @@ -36,13 +36,7 @@ class OC_OCSClient{ * to set it in the config file or it will fallback to the default */ private static function getAppStoreURL() { - if(OC_Util::getEditionString()===''){ - $default='https://api.owncloud.com/v1'; - }else{ - $default=''; - } - $url = OC_Config::getValue('appstoreurl', $default); - return($url); + return \OC::$server->getConfig()->getSystemValue('appstoreurl', 'https://api.owncloud.com/v1'); } |