mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-08-30 14:36:06 +02:00
API CHANGE: removed Director::Link(). Use Controller::join_links() instead
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/branches/2.4@93785 467b73ca-7a2a-4603-9d3b-597d59a354a9
This commit is contained in:
parent
c888781975
commit
40f448f824
@ -416,15 +416,6 @@ class Director {
|
||||
Controller::curr()->redirectBack();
|
||||
}
|
||||
|
||||
/**
|
||||
* Returns a URL to composed of the given segments - usually controller, action, parameter
|
||||
* @deprecated 2.3 Use Controller::join_links()
|
||||
*/
|
||||
static function link() {
|
||||
$parts = func_get_args();
|
||||
return Director::baseURL() . implode("/",$parts) . (sizeof($parts) > 2 ? "" : "/");
|
||||
}
|
||||
|
||||
/**
|
||||
* Returns the root URL for the site.
|
||||
* It will be automatically calculated unless it is overridden with {@link setBaseURL()}.
|
||||
|
Loading…
Reference in New Issue
Block a user