summaryrefslogtreecommitdiffstats
path: root/lib/private/app.php
diff options
context:
space:
mode:
authorBjoern Schiessle <schiessle@owncloud.com>2015-07-29 17:54:30 +0200
committerBjoern Schiessle <schiessle@owncloud.com>2015-07-29 18:07:04 +0200
commit8fb89056bd2f99b1df7dc7a3970fc293272c8ab6 (patch)
tree8f38f85f97de089a7d81bc4571630ba680fee5c6 /lib/private/app.php
parent3ef680d96623eb6350015843f56b55b593a053bd (diff)
downloadnextcloud-server-8fb89056bd2f99b1df7dc7a3970fc293272c8ab6.tar.gz
nextcloud-server-8fb89056bd2f99b1df7dc7a3970fc293272c8ab6.zip
make knowledge base url configurable
Diffstat (limited to 'lib/private/app.php')
-rw-r--r--lib/private/app.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/private/app.php b/lib/private/app.php
index 6c6f79dfa9d..74b21b2b107 100644
--- a/lib/private/app.php
+++ b/lib/private/app.php
@@ -421,6 +421,7 @@ class OC_App {
*/
public static function getSettingsNavigation() {
$l = \OC::$server->getL10N('lib');
+ $defaults = new OC_Defaults();
$settings = array();
// by default, settings only contain the help menu
@@ -431,7 +432,7 @@ class OC_App {
array(
"id" => "help",
"order" => 1000,
- "href" => OC_Helper::linkToRoute("settings_help"),
+ "href" => $defaults->getKnowledgeBaseUrl(),
"name" => $l->t("Help"),
"icon" => OC_Helper::imagePath("settings", "help.svg")
)