]> source.dussan.org Git - nextcloud-server.git/commitdiff
use ===
authorFrank Karlitschek <frank@owncloud.org>
Sat, 28 Sep 2013 00:15:18 +0000 (02:15 +0200)
committerThomas Müller <thomas.mueller@tmit.eu>
Mon, 30 Sep 2013 18:15:16 +0000 (20:15 +0200)
Shoudn't make a difference in this case but just in case

Conflicts:
lib/ocsclient.php

lib/ocsclient.php

index bd0302a2a81f97d2061b5d6476dab74949ac4941..67966fe7cd0ee07ee19b4fdd88b345a24b6e7792 100644 (file)
@@ -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);
        }