From 4bc72cc4e0899f9b597e4dd8f3c17a2603c1059d Mon Sep 17 00:00:00 2001 From: Lukas Reschke Date: Sun, 24 Aug 2014 20:22:15 +0200 Subject: Remove different URL for EE This can now be achieved by setting `appstoreenabled` to `false` in config.php --- lib/private/ocsclient.php | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/lib/private/ocsclient.php b/lib/private/ocsclient.php index e4cce6b2260..d173f39eba7 100644 --- a/lib/private/ocsclient.php +++ b/lib/private/ocsclient.php @@ -36,13 +36,7 @@ class OC_OCSClient{ * to set it in the config file or it will fallback to the default */ private static function getAppStoreURL() { - if(OC_Util::getEditionString()===''){ - $default='https://api.owncloud.com/v1'; - }else{ - $default=''; - } - $url = OC_Config::getValue('appstoreurl', $default); - return($url); + return \OC::$server->getConfig()->getSystemValue('appstoreurl', 'https://api.owncloud.com/v1'); } -- cgit v1.2.3