Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
die_coolen_jungs
our_own_cloud_project
Commits
2a280e2f
Commit
2a280e2f
authored
Dec 17, 2015
by
Roeland Jago Douma
Committed by
Lukas Reschke
Dec 17, 2015
Browse files
Remove private deprecated OC_Helper::linkToRoute
parent
9fe3d2f1
Changes
1
Hide whitespace changes
Inline
Side-by-side
lib/private/helper.php
View file @
2a280e2f
...
...
@@ -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
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment