summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorThomas Tanghus <thomas@tanghus.net>2014-03-29 20:39:55 +0100
committerThomas Tanghus <thomas@tanghus.net>2014-03-29 20:39:55 +0100
commit3a7829f784a3f98642ac19b633c003e74aa87e9d (patch)
tree5798ed170b27f353b6092e3c91384c9d5b0b44f6 /lib
parentc14107550d8c7588bb78e7ffc34c7190e475c23e (diff)
downloadnextcloud-server-3a7829f784a3f98642ac19b633c003e74aa87e9d.tar.gz
nextcloud-server-3a7829f784a3f98642ac19b633c003e74aa87e9d.zip
Sub-dir was prepended twice
Diffstat (limited to 'lib')
-rw-r--r--lib/private/helper.php3
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/private/helper.php b/lib/private/helper.php
index 98a86388d20..d7ac0b5f4fa 100644
--- a/lib/private/helper.php
+++ b/lib/private/helper.php
@@ -78,8 +78,7 @@ class OC_Helper {
* Returns a absolute url to the given app and file.
*/
public static function linkToAbsolute($app, $file, $args = array()) {
- $urlLinkTo = self::linkTo($app, $file, $args);
- return self::makeURLAbsolute($urlLinkTo);
+ return self::linkTo($app, $file, $args);
}
/**