]> source.dussan.org Git - nextcloud-server.git/commitdiff
make main menu aware of the different owncloud editions
authorBjörn Schießle <schiessle@owncloud.com>
Wed, 12 Jun 2013 14:20:23 +0000 (16:20 +0200)
committerBjörn Schießle <schiessle@owncloud.com>
Thu, 13 Jun 2013 14:37:48 +0000 (16:37 +0200)
lib/app.php

index 272c53f270689a56526ab88b7490f4faee26206f..4f1b6a816ddd63ac384e293741966d397fa0ab2d 100644 (file)
@@ -340,7 +340,8 @@ class OC_App{
 
                $settings = array();
                // by default, settings only contain the help menu
-               if(OC_Config::getValue('knowledgebaseenabled', true)==true) {
+               if(OC_Util::getEditionString() === '' &&
+                       OC_Config::getValue('knowledgebaseenabled', true)==true) {
                        $settings = array(
                                array(
                                        "id" => "help",