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:
Sam Minnee 2010-03-09 00:18:16 +00:00
parent f6b40002ff
commit 507da370ff

View File

@ -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();
}