From 305534225ea67f3e7fe655bdc4a1aa39e465cd13 Mon Sep 17 00:00:00 2001 From: Lukas Reschke Date: Thu, 21 Jul 2016 02:08:56 +0200 Subject: [PATCH] Revert "Remove "Help" link from personal sidebar" This reverts commit deef15a3c7119b2965e7212ce53ba70e6baed779. --- lib/private/legacy/app.php | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/lib/private/legacy/app.php b/lib/private/legacy/app.php index 37ceea35ac..9753e2efd5 100644 --- a/lib/private/legacy/app.php +++ b/lib/private/legacy/app.php @@ -421,9 +421,7 @@ class OC_App { $settings = array(); // 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 ) { $settings = array( @@ -435,7 +433,7 @@ class OC_App { "icon" => $urlGenerator->imagePath("settings", "help.svg") ) ); - }*/ + } // if the user is logged-in if (OC_User::isLoggedIn()) {