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:
Ingo Schommer 2009-11-30 00:45:14 +00:00
parent 8ccbedc56d
commit 8d5ff0ce61

View File

@ -416,15 +416,6 @@ class Director {
Controller::curr()->redirectBack(); 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. * Returns the root URL for the site.
* It will be automatically calculated unless it is overridden with {@link setBaseURL()}. * It will be automatically calculated unless it is overridden with {@link setBaseURL()}.