mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 14:05:37 +02:00
API CHANGE: removed Director::Link(). Use Controller::join_links() instead (from r93785)
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@93943 467b73ca-7a2a-4603-9d3b-597d59a354a9
This commit is contained in:
parent
8ccbedc56d
commit
8d5ff0ce61
@ -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