diff options
author | Thomas Müller <thomas.mueller@tmit.eu> | 2013-10-01 16:11:59 +0200 |
---|---|---|
committer | Thomas Müller <thomas.mueller@tmit.eu> | 2013-10-01 16:11:59 +0200 |
commit | e2fe71b6e7d09477298cfdba3dd6a07695c26118 (patch) | |
tree | a9bbcb7894d2902ed9965ddaf0e6ad7e893d7940 /lib/private/ocsclient.php | |
parent | 02d69762631edda67e56ff652c67dd12fef098fd (diff) | |
parent | b66e492d6e79fc1bef1fc416ab06f751e0ede6d4 (diff) | |
download | nextcloud-server-e2fe71b6e7d09477298cfdba3dd6a07695c26118.tar.gz nextcloud-server-e2fe71b6e7d09477298cfdba3dd6a07695c26118.zip |
Merge branch 'master' into lib-private-master-2
Diffstat (limited to 'lib/private/ocsclient.php')
-rw-r--r-- | lib/private/ocsclient.php | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/lib/private/ocsclient.php b/lib/private/ocsclient.php index 58636f806be..e35556d92b8 100644 --- a/lib/private/ocsclient.php +++ b/lib/private/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); } |