Skip to content

Commit

Permalink
Remove "Help" link from personal sidebar
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
LukasReschke committed Jun 6, 2016
1 parent d0ff178 commit deef15a
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 deef15a

Please sign in to comment.