summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorFrank Karlitschek <frank@owncloud.org>2013-09-28 02:15:18 +0200
committerThomas Müller <thomas.mueller@tmit.eu>2013-09-30 20:15:16 +0200
commit69dd6af57489395527e94b033e3f0b8d5c73ca12 (patch)
tree788bdcf4e2813402fee5056129ecb65f64ae7d67 /lib
parentb948c1a1b642e2cf99c3e59aff785d82ddec7645 (diff)
downloadnextcloud-server-69dd6af57489395527e94b033e3f0b8d5c73ca12.tar.gz
nextcloud-server-69dd6af57489395527e94b033e3f0b8d5c73ca12.zip
use ===
Shoudn't make a difference in this case but just in case Conflicts: lib/ocsclient.php
Diffstat (limited to 'lib')
-rw-r--r--lib/ocsclient.php7
1 files changed, 6 insertions, 1 deletions
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);
}