Shoudn't make a difference in this case but just in case

Conflicts:
	lib/ocsclient.php
This commit is contained in:
Frank Karlitschek 2013-09-28 02:15:18 +02:00 committed by Thomas Müller
parent b948c1a1b6
commit 69dd6af574
1 changed files with 6 additions and 1 deletions

View File

@ -36,7 +36,12 @@ class OC_OCSClient{
* to set it in the config file or it will fallback to the default * to set it in the config file or it will fallback to the default
*/ */
private static function getAppStoreURL() { private static function getAppStoreURL() {
$url = OC_Config::getValue('appstoreurl', 'http://api.apps.owncloud.com/v1'); if(OC_Util::getEditionString()===''){
$default='http://api.apps.owncloud.com/v1';
}else{
$default='';
}
$url = OC_Config::getValue('appstoreurl', $default);
return($url); return($url);
} }