Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/server.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Müller <thomas.mueller@tmit.eu>2013-10-01 18:11:59 +0400
committerThomas Müller <thomas.mueller@tmit.eu>2013-10-01 18:11:59 +0400
commite2fe71b6e7d09477298cfdba3dd6a07695c26118 (patch)
treea9bbcb7894d2902ed9965ddaf0e6ad7e893d7940 /lib/private/ocsclient.php
parent02d69762631edda67e56ff652c67dd12fef098fd (diff)
parentb66e492d6e79fc1bef1fc416ab06f751e0ede6d4 (diff)
Merge branch 'master' into lib-private-master-2
Diffstat (limited to 'lib/private/ocsclient.php')
-rw-r--r--lib/private/ocsclient.php7
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);
}