]> source.dussan.org Git - nextcloud-server.git/commitdiff
Remove private deprecated OC_Helper::linkToRoute
authorRoeland Jago Douma <rullzer@owncloud.com>
Thu, 17 Dec 2015 10:16:38 +0000 (11:16 +0100)
committerLukas Reschke <lukas@owncloud.com>
Thu, 17 Dec 2015 17:46:43 +0000 (18:46 +0100)
lib/private/helper.php

index a3c7492631b08c17aaab740eee42d344e547da24..1c3b1064ffa95262e95ffb01b8b06af471a51b5e 100644 (file)
@@ -53,19 +53,6 @@ use Symfony\Component\Process\ExecutableFinder;
 class OC_Helper {
        private static $templateManager;
 
-       /**
-        * Creates an url using a defined route
-        * @param string $route
-        * @param array $parameters with param=>value, will be appended to the returned url
-        * @return string the url
-        * @deprecated Use \OC::$server->getURLGenerator()->linkToRoute($route, $parameters)
-        *
-        * Returns a url to the given app and file.
-        */
-       public static function linkToRoute($route, $parameters = array()) {
-               return OC::$server->getURLGenerator()->linkToRoute($route, $parameters);
-       }
-
        /**
         * Creates an absolute url
         * @param string $app app