diff --git a/lib/private/legacy/app.php b/lib/private/legacy/app.php index 37ceea35ac043..9753e2efd506a 100644 --- a/lib/private/legacy/app.php +++ b/lib/private/legacy/app.php @@ -421,9 +421,7 @@ public static function getSettingsNavigation() { $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 @@ public static function getSettingsNavigation() { "icon" => $urlGenerator->imagePath("settings", "help.svg") ) ); - }*/ + } // if the user is logged-in if (OC_User::isLoggedIn()) { diff --git a/settings/templates/help.php b/settings/templates/help.php index 79584aba84d11..11726d60387f4 100644 --- a/settings/templates/help.php +++ b/settings/templates/help.php @@ -16,19 +16,19 @@