From: Jeroen De Dauw Date: Tue, 13 Dec 2011 15:49:52 +0000 (+0000) Subject: Follow up to r105979; X-Git-Tag: 1.31.0-rc.0~26003 X-Git-Url: https://git.cyclocoop.org/%28%28?a=commitdiff_plain;h=b23168e057cd13eb74a79af520c15457f4f68aad;p=lhc%2Fweb%2Fwiklou.git Follow up to r105979; --- diff --git a/includes/GlobalFunctions.php b/includes/GlobalFunctions.php index 41d24940b1..5fdcf2a011 100644 --- a/includes/GlobalFunctions.php +++ b/includes/GlobalFunctions.php @@ -3460,7 +3460,7 @@ function wfDeprecated( $function, $version = false, $component = false ) { if ( !isset( $functionsWarned[$function] ) ) { $functionsWarned[$function] = true; - if ( $version ) { + if ( $version && $component === false ) { global $wgDeprecationReleaseLimit; if ( $wgDeprecationReleaseLimit ) {