make main menu aware of the different owncloud editions

This commit is contained in:
Björn Schießle 2013-06-12 16:20:23 +02:00
parent 5c6a854489
commit 839bce80c6
1 changed files with 2 additions and 1 deletions

View File

@ -349,7 +349,8 @@ class OC_App{
$settings = array(); $settings = array();
// by default, settings only contain the help menu // 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( $settings = array(
array( array(
"id" => "help", "id" => "help",