Skip to content

Commit

Permalink
Merge pull request #9 from nextcloud/remove-links-to-documentation-in…
Browse files Browse the repository at this point in the history
…-menu

Remove "Help" link from personal sidebar
  • Loading branch information
jancborchardt committed Jun 6, 2016
2 parents d443157 + deef15a commit d7375de
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions lib/private/legacy/app.php
Original file line number Diff line number Diff line change
Expand Up @@ -421,7 +421,9 @@ public static function getSettingsNavigation() {

$settings = array();
// by default, settings only contain the help menu
if (OC_Util::getEditionString() === '' &&
/*
* FIXME: Add help sidebar back once documentation is properly branded.
if (OC_Util::getEditionString() === '' &&
\OC::$server->getSystemConfig()->getValue('knowledgebaseenabled', true) == true
) {
$settings = array(
Expand All @@ -433,7 +435,7 @@ public static function getSettingsNavigation() {
"icon" => $urlGenerator->imagePath("settings", "help.svg")
)
);
}
}*/

// if the user is logged-in
if (OC_User::isLoggedIn()) {
Expand Down

0 comments on commit d7375de

Please sign in to comment.