From b23168e057cd13eb74a79af520c15457f4f68aad Mon Sep 17 00:00:00 2001 From: Jeroen De Dauw Date: Tue, 13 Dec 2011 15:49:52 +0000 Subject: [PATCH] Follow up to r105979; --- includes/GlobalFunctions.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 ) { -- 2.20.1