From 69dd6af57489395527e94b033e3f0b8d5c73ca12 Mon Sep 17 00:00:00 2001
From: Frank Karlitschek <frank@owncloud.org>
Date: Sat, 28 Sep 2013 02:15:18 +0200
Subject: [PATCH] use === Shoudn't make a difference in this case but just in
 case

Conflicts:
	lib/ocsclient.php
---
 lib/ocsclient.php | 7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)

diff --git a/lib/ocsclient.php b/lib/ocsclient.php
index bd0302a2a8..67966fe7cd 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);
 	}
 
-- 
GitLab