mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 14:05:37 +02:00
MINOR: Director::currentPage() is deprecated but shouldn't throw a notice-level error until the next major release.
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/branches/2.4@100670 467b73ca-7a2a-4603-9d3b-597d59a354a9
This commit is contained in:
parent
f6b40002ff
commit
507da370ff
@ -329,10 +329,6 @@ class Director {
|
||||
* @deprecated 2.4 Use {@link Director::get_current_page()}.
|
||||
*/
|
||||
static function currentPage() {
|
||||
user_error (
|
||||
'Director::currentPage() is deprecated, please use Director::get_current_page()', E_USER_NOTICE
|
||||
);
|
||||
|
||||
return self::get_current_page();
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user