]> source.dussan.org Git - nextcloud-server.git/commitdiff
Sub-dir was prepended twice
authorThomas Tanghus <thomas@tanghus.net>
Sat, 29 Mar 2014 19:39:55 +0000 (20:39 +0100)
committerThomas Tanghus <thomas@tanghus.net>
Sat, 29 Mar 2014 19:39:55 +0000 (20:39 +0100)
lib/private/helper.php

index 98a86388d2088d71d6b691f9d5b8434c7dda3155..d7ac0b5f4fa64846adad31d58c9c6ed960a3653d 100644 (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);
        }
 
        /**