Index: trunk/phase3/includes/GlobalFunctions.php |
— | — | @@ -3463,7 +3463,7 @@ |
3464 | 3464 | |
3465 | 3465 | MWDebug::deprecated( $function, $version, $component ); |
3466 | 3466 | |
3467 | | - if ( !in_array( $function, $GLOBALS['wgDeprecationWhitelist'] ) && !isset( $functionsWarned[$function] ) ) { |
| 3467 | + if ( !isset( $functionsWarned[$function] ) ) { |
3468 | 3468 | $functionsWarned[$function] = true; |
3469 | 3469 | |
3470 | 3470 | if ( $version ) { |
Index: trunk/phase3/includes/DefaultSettings.php |
— | — | @@ -4107,16 +4107,6 @@ |
4108 | 4108 | */ |
4109 | 4109 | $wgDeprecationReleaseLimit = '1.17'; |
4110 | 4110 | |
4111 | | -/** |
4112 | | - * Function name whitelist for wfDeprecated warnings. You will not be warned |
4113 | | - * for usage of deprecated functions in this list. This is mainly useful |
4114 | | - * for extension developers unable to not use certain deprecated functions |
4115 | | - * due to backward compatibility reasons. |
4116 | | - * @since 1.19 |
4117 | | - * @var array |
4118 | | - */ |
4119 | | -$wgDeprecationWhitelist = array(); |
4120 | | - |
4121 | 4111 | /** Only record profiling info for pages that took longer than this */ |
4122 | 4112 | $wgProfileLimit = 0.0; |
4123 | 4113 | |