aboutsummaryrefslogtreecommitdiffstats
path: root/lib/private/helper.php
diff options
context:
space:
mode:
authorThomas Müller <thomas.mueller@tmit.eu>2014-11-24 16:24:26 +0100
committerThomas Müller <thomas.mueller@tmit.eu>2014-11-25 11:53:28 +0100
commitc503ecd54495167f97b6602e5b41c1cf95467395 (patch)
treef0d8dfa42dda7c4d8c2e5e64d8ec19204c7fc24e /lib/private/helper.php
parent6fb2477fb75d4c982a1568e2392d17fd7cc2fd4b (diff)
downloadnextcloud-server-c503ecd54495167f97b6602e5b41c1cf95467395.tar.gz
nextcloud-server-c503ecd54495167f97b6602e5b41c1cf95467395.zip
Introduce app info xml parser including basic unit test - necessary for #10777
Diffstat (limited to 'lib/private/helper.php')
-rw-r--r--lib/private/helper.php5
1 files changed, 2 insertions, 3 deletions
diff --git a/lib/private/helper.php b/lib/private/helper.php
index be448b8ff9b..d43eefcdc52 100644
--- a/lib/private/helper.php
+++ b/lib/private/helper.php
@@ -58,12 +58,11 @@ class OC_Helper {
}
/**
- * @param $key
+ * @param string $key
* @return string url to the online documentation
*/
public static function linkToDocs($key) {
- $theme = new OC_Defaults();
- return $theme->buildDocLinkToKey($key);
+ return OC::$server->getURLGenerator()->linkToDocs($key);
}
/**