From 40f448f824c8fba9aa06340fdbd7006584dd496e Mon Sep 17 00:00:00 2001 From: Will Rossiter Date: Fri, 27 Nov 2009 02:11:34 +0000 Subject: [PATCH] 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 --- core/control/Director.php | 9 --------- 1 file changed, 9 deletions(-) diff --git a/core/control/Director.php b/core/control/Director.php index f9fece882..4a5bade9a 100755 --- a/core/control/Director.php +++ b/core/control/Director.php @@ -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()}.