From: Alexandre Emsenhuber Date: Sat, 18 Feb 2012 13:21:01 +0000 (+0000) Subject: Removed wfDeprecated() call from LogPage::logName() and LogPage::logHeader(); they... X-Git-Tag: 1.31.0-rc.0~24639 X-Git-Url: https://git.cyclocoop.org/%7B%24admin_url%7Dcompta/operations/modifier.php?a=commitdiff_plain;h=a72c61fbe45aa2dd59c9a8e8d1a2105a9a45adb9;p=lhc%2Fweb%2Fwiklou.git Removed wfDeprecated() call from LogPage::logName() and LogPage::logHeader(); they are still widely used including in core. --- diff --git a/includes/logging/LogPage.php b/includes/logging/LogPage.php index 3951a042b1..193ff5235c 100644 --- a/includes/logging/LogPage.php +++ b/includes/logging/LogPage.php @@ -175,7 +175,6 @@ class LogPage { * @deprecated in 1.19, warnings in 1.21. Use getName() */ public static function logName( $type ) { - wfDeprecated( __METHOD__, '1.19' ); global $wgLogNames; if( isset( $wgLogNames[$type] ) ) { @@ -195,7 +194,6 @@ class LogPage { * @deprecated in 1.19, warnings in 1.21. Use getDescription() */ public static function logHeader( $type ) { - wfDeprecated( __METHOD__, '1.19' ); global $wgLogHeaders; return wfMsgExt( $wgLogHeaders[$type], array( 'parseinline' ) ); }