Remove different URL for EE

This can now be achieved by setting `appstoreenabled` to `false` in config.php
This commit is contained in:
Lukas Reschke 2014-08-24 20:22:15 +02:00
parent b5c2964070
commit 4bc72cc4e0
1 changed files with 1 additions and 7 deletions

View File

@ -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');
}