diff options
author | Lukas Reschke <lukas@statuscode.ch> | 2016-07-21 02:08:56 +0200 |
---|---|---|
committer | Lukas Reschke <lukas@statuscode.ch> | 2016-07-21 02:25:00 +0200 |
commit | 4f42c3d7256faa2d29f7b50ed0f2898604fbd916 (patch) | |
tree | a75e44ca0f99d2f00da9480f8d113d675f9b78b3 | |
parent | 01ab40f55740d6acaa1f893417f94eb9630f714f (diff) | |
download | nextcloud-server-4f42c3d7256faa2d29f7b50ed0f2898604fbd916.tar.gz nextcloud-server-4f42c3d7256faa2d29f7b50ed0f2898604fbd916.zip |
Revert "Remove "Help" link from personal sidebar"
This reverts commit deef15a3c7119b2965e7212ce53ba70e6baed779.
-rw-r--r-- | lib/private/legacy/app.php | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/lib/private/legacy/app.php b/lib/private/legacy/app.php index 37ceea35ac0..9753e2efd50 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()) { |