Remove "Help" link from personal sidebar

At the moment we want to hide the help link from the personal sidebar as it contains the original ownCloud documentation.

Once we have our own documentation with our proper branding and so on we can reenable this.
This commit is contained in:
Lukas Reschke 2016-06-06 18:29:38 +02:00
parent d0ff1781be
commit deef15a3c7
No known key found for this signature in database
GPG Key ID: 9AB0ADB949B6898C
1 changed files with 4 additions and 2 deletions

View File

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