diff --git a/lib/private/ocsclient.php b/lib/private/ocsclient.php index e4cce6b226..d173f39eba 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'); }