diff options
author | Lukas Reschke <lukas@owncloud.com> | 2016-06-06 18:29:38 +0200 |
---|---|---|
committer | Lukas Reschke <lukas@owncloud.com> | 2016-06-06 18:40:15 +0200 |
commit | deef15a3c7119b2965e7212ce53ba70e6baed779 (patch) | |
tree | 67081b5d36c6f37dd3b2a6f727d7e6a6bf93ac79 /lib/private/legacy | |
parent | d0ff1781bea9f3c05834328b7fa776cc05ea49c6 (diff) | |
download | nextcloud-server-deef15a3c7119b2965e7212ce53ba70e6baed779.tar.gz nextcloud-server-deef15a3c7119b2965e7212ce53ba70e6baed779.zip |
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.
Diffstat (limited to 'lib/private/legacy')
-rw-r--r-- | lib/private/legacy/app.php | 6 |
1 files changed, 4 insertions, 2 deletions
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()) { |