From: Frank Karlitschek Date: Sat, 28 Sep 2013 00:15:18 +0000 (+0200) Subject: use === X-Git-Tag: v6.0.0alpha2~117^2~5 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=69dd6af57489395527e94b033e3f0b8d5c73ca12;p=nextcloud-server.git use === Shoudn't make a difference in this case but just in case Conflicts: lib/ocsclient.php --- diff --git a/lib/ocsclient.php b/lib/ocsclient.php index bd0302a2a81..67966fe7cd0 100644 --- a/lib/ocsclient.php +++ b/lib/ocsclient.php @@ -36,7 +36,12 @@ class OC_OCSClient{ * to set it in the config file or it will fallback to the default */ 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); }