From deef15a3c7119b2965e7212ce53ba70e6baed779 Mon Sep 17 00:00:00 2001 From: Lukas Reschke Date: Mon, 6 Jun 2016 18:29:38 +0200 Subject: 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. --- lib/private/legacy/app.php | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'lib/private/legacy') diff --git a/lib/private/legacy/app.php b/lib/private/legacy/app.php index 5fac1790424..d4bf4f50c0e 100644 --- a/lib/private/legacy/app.php +++ b/lib/private/legacy/app.php @@ -421,7 +421,9 @@ class OC_App { $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( @@ -433,7 +435,7 @@ class OC_App { "icon" => $urlGenerator->imagePath("settings", "help.svg") ) ); - } + }*/ // if the user is logged-in if (OC_User::isLoggedIn()) { -- cgit v1.2.3