Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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.
  • Loading branch information
LukasReschke committed Jun 6, 2016
commit deef15a3c7119b2965e7212ce53ba70e6baed779
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