From 34ad3f7ada1363b887b58f171ba1fd5ba71a3447 Mon Sep 17 00:00:00 2001 From: Lukas Reschke Date: Mon, 6 Jun 2016 18:45:27 +0200 Subject: [PATCH] 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/app.php | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/lib/private/app.php b/lib/private/app.php index 5d0909de2a..a126b5b049 100644 --- a/lib/private/app.php +++ b/lib/private/app.php @@ -381,7 +381,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( @@ -393,7 +395,7 @@ class OC_App { "icon" => $urlGenerator->imagePath("settings", "help.svg") ) ); - } + }*/ // if the user is logged-in if (OC_User::isLoggedIn()) {