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:
Andreas Piening 2010-08-02 00:43:51 +00:00
parent af0f93c109
commit e59e0431e4

View File

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