Skip to content

Commit

Permalink
Merge pull request #10 from nextcloud/stable9-remove-links-to-documen…
Browse files Browse the repository at this point in the history
…tation-in-menu

[stable9] Remove "Help" link from personal sidebar
  • Loading branch information
jancborchardt committed Jun 6, 2016
2 parents afb4c1e + 34ad3f7 commit 267692b
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions lib/private/app.php
Original file line number Diff line number Diff line change
Expand Up @@ -381,7 +381,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 @@ -393,7 +395,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 267692b

Please sign in to comment.