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:
Will Rossiter 2009-11-27 02:11:34 +00:00 committed by Sam Minnee
parent c888781975
commit 40f448f824

View File

@ -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()}.