summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorBjörn Schießle <schiessle@owncloud.com>2013-06-12 16:20:23 +0200
committerBjörn Schießle <schiessle@owncloud.com>2013-06-12 16:20:23 +0200
commit839bce80c6349e9a84624d0465a3f33706c64093 (patch)
tree8c7d035dd112eca95c541e9625bf75b4f37fb174 /lib
parent5c6a8544899728005cc5900913dd21f67e926457 (diff)
downloadnextcloud-server-839bce80c6349e9a84624d0465a3f33706c64093.tar.gz
nextcloud-server-839bce80c6349e9a84624d0465a3f33706c64093.zip
make main menu aware of the different owncloud editions
Diffstat (limited to 'lib')
-rw-r--r--lib/app.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/app.php b/lib/app.php
index 3e6cadfe2c9..f974dd9f594 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",