mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 14:05:37 +02:00
API CHANGE Removed deprecated function RootURLController::get_homepage_urlsegment(), please use RootURLController::get_homepage_link() instead! (from r100493)
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@105579 467b73ca-7a2a-4603-9d3b-597d59a354a9
This commit is contained in:
parent
046dd623be
commit
56ba78b2a5
@ -86,17 +86,6 @@ class RootURLController extends Controller {
|
||||
self::$cached_homepage_link = null;
|
||||
}
|
||||
|
||||
/**
|
||||
* @deprecated 2.4 Use {@link RootURLController::get_homepage_link()}
|
||||
*/
|
||||
public static function get_homepage_urlsegment() {
|
||||
user_error (
|
||||
'RootURLController::get_homepage_urlsegment() is deprecated, please use get_homepage_link()', E_USER_NOTICE
|
||||
);
|
||||
|
||||
return self::get_homepage_link();
|
||||
}
|
||||
|
||||
/**
|
||||
* @param SS_HTTPRequest $request
|
||||
* @return SS_HTTPResponse
|
||||
|
Loading…
Reference in New Issue
Block a user