Merge pull request #10 from nextcloud/stable9-remove-links-to-documentation-in-menu

[stable9] Remove "Help" link from personal sidebar
This commit is contained in:
Jan-Christoph Borchardt 2016-06-06 23:01:47 +02:00
commit 267692b14c
1 changed files with 4 additions and 2 deletions

View File

@ -381,7 +381,9 @@ class OC_App {
$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(
@ -393,7 +395,7 @@ class OC_App {
"icon" => $urlGenerator->imagePath("settings", "help.svg")
)
);
}
}*/
// if the user is logged-in
if (OC_User::isLoggedIn()) {