Merge pull request #9 from nextcloud/remove-links-to-documentation-in-menu
Remove "Help" link from personal sidebar
This commit is contained in:
commit
d7375de816
|
@ -421,6 +421,8 @@ class OC_App {
|
||||||
|
|
||||||
$settings = array();
|
$settings = array();
|
||||||
// by default, settings only contain the help menu
|
// by default, settings only contain the help menu
|
||||||
|
/*
|
||||||
|
* FIXME: Add help sidebar back once documentation is properly branded.
|
||||||
if (OC_Util::getEditionString() === '' &&
|
if (OC_Util::getEditionString() === '' &&
|
||||||
\OC::$server->getSystemConfig()->getValue('knowledgebaseenabled', true) == true
|
\OC::$server->getSystemConfig()->getValue('knowledgebaseenabled', true) == true
|
||||||
) {
|
) {
|
||||||
|
@ -433,7 +435,7 @@ class OC_App {
|
||||||
"icon" => $urlGenerator->imagePath("settings", "help.svg")
|
"icon" => $urlGenerator->imagePath("settings", "help.svg")
|
||||||
)
|
)
|
||||||
);
|
);
|
||||||
}
|
}*/
|
||||||
|
|
||||||
// if the user is logged-in
|
// if the user is logged-in
|
||||||
if (OC_User::isLoggedIn()) {
|
if (OC_User::isLoggedIn()) {
|
||||||
|
|
Loading…
Reference in New Issue