make main menu aware of the different owncloud editions
This commit is contained in:
parent
5c6a854489
commit
839bce80c6
|
@ -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",
|
||||||
|
|
Loading…
Reference in New Issue