From 839bce80c6349e9a84624d0465a3f33706c64093 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Bj=C3=B6rn=20Schie=C3=9Fle?= <schiessle@owncloud.com>
Date: Wed, 12 Jun 2013 16:20:23 +0200
Subject: [PATCH] make main menu aware of the different owncloud editions

---
 lib/app.php | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/lib/app.php b/lib/app.php
index 3e6cadfe2c..f974dd9f59 100644
--- a/lib/app.php
+++ b/lib/app.php
@@ -349,7 +349,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",
-- 
GitLab