mirror of
https://github.com/nextcloud/server.git
synced 2026-04-15 22:11:17 -04:00
Remove private deprecated OC_Helper::linkToRoute
This commit is contained in:
parent
9fe3d2f1f8
commit
2a280e2fad
1 changed files with 0 additions and 13 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in a new issue