Skip to content
Snippets Groups Projects
Commit 4bc72cc4 authored by Lukas Reschke's avatar Lukas Reschke
Browse files

Remove different URL for EE

This can now be achieved by setting `appstoreenabled` to `false` in config.php
parent b5c29640
No related branches found
No related tags found
No related merge requests found
......@@ -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');
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment