Sub-dir was prepended twice

This commit is contained in:
Thomas Tanghus 2014-03-29 20:39:55 +01:00
parent c14107550d
commit 3a7829f784
1 changed files with 1 additions and 2 deletions

View File

@ -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);
}
/**