Skip to content

Commit d7375de

Browse files
committed
Merge pull request #9 from nextcloud/remove-links-to-documentation-in-menu
Remove "Help" link from personal sidebar
2 parents d443157 + deef15a commit d7375de

1 file changed

Lines changed: 4 additions & 2 deletions

File tree

lib/private/legacy/app.php

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -421,7 +421,9 @@ public static function getSettingsNavigation() {
421421

422422
$settings = array();
423423
// by default, settings only contain the help menu
424-
if (OC_Util::getEditionString() === '' &&
424+
/*
425+
* FIXME: Add help sidebar back once documentation is properly branded.
426+
if (OC_Util::getEditionString() === '' &&
425427
\OC::$server->getSystemConfig()->getValue('knowledgebaseenabled', true) == true
426428
) {
427429
$settings = array(
@@ -433,7 +435,7 @@ public static function getSettingsNavigation() {
433435
"icon" => $urlGenerator->imagePath("settings", "help.svg")
434436
)
435437
);
436-
}
438+
}*/
437439

438440
// if the user is logged-in
439441
if (OC_User::isLoggedIn()) {

0 commit comments

Comments
 (0)