Skip to content

Commit deef15a

Browse files
committed
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.
1 parent d0ff178 commit deef15a

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

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)