Follow up to r105979;
authorJeroen De Dauw <jeroendedauw@users.mediawiki.org>
Tue, 13 Dec 2011 15:49:52 +0000 (15:49 +0000)
committerJeroen De Dauw <jeroendedauw@users.mediawiki.org>
Tue, 13 Dec 2011 15:49:52 +0000 (15:49 +0000)
includes/GlobalFunctions.php

index 41d2494..5fdcf2a 100644 (file)
@@ -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 ) {