From 2a280e2fad5b69dd0e828ca168f0dcfcd0a1ae5d Mon Sep 17 00:00:00 2001 From: Roeland Jago Douma Date: Thu, 17 Dec 2015 11:16:38 +0100 Subject: [PATCH] Remove private deprecated OC_Helper::linkToRoute --- lib/private/helper.php | 13 ------------- 1 file changed, 13 deletions(-) diff --git a/lib/private/helper.php b/lib/private/helper.php index a3c7492631b..1c3b1064ffa 100644 --- a/lib/private/helper.php +++ b/lib/private/helper.php @@ -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