Remove different URL for EE
This can now be achieved by setting `appstoreenabled` to `false` in config.php
This commit is contained in:
parent
b5c2964070
commit
4bc72cc4e0
|
@ -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');
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue