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. (from r100670)
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@108761 467b73ca-7a2a-4603-9d3b-597d59a354a9
This commit is contained in:
parent
af0f93c109
commit
e59e0431e4
@ -329,10 +329,6 @@ class Director {
|
|||||||
* @deprecated 2.4 Use {@link Director::get_current_page()}.
|
* @deprecated 2.4 Use {@link Director::get_current_page()}.
|
||||||
*/
|
*/
|
||||||
static function currentPage() {
|
static function currentPage() {
|
||||||
user_error (
|
|
||||||
'Director::currentPage() is deprecated, please use Director::get_current_page()', E_USER_NOTICE
|
|
||||||
);
|
|
||||||
|
|
||||||
return self::get_current_page();
|
return self::get_current_page();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user