X-Git-Url: http://git.cyclocoop.org/%22%20.%20generer_url_ecrire%28%22calendrier%22%2C%22type=semaine%22%29%20.%20%22?a=blobdiff_plain;f=includes%2Fchangetags%2FChangeTags.php;h=0e360098fceef84d3cfa0e0537adb2e1ad16792d;hb=65f12f7190442dcea96eb8d642ebbf8c39df1427;hp=b28983f9ef06de4f982edeb1670c949a92ab77cd;hpb=a63c458127538ee6c6279602a436e3ba3abc0330;p=lhc%2Fweb%2Fwiklou.git diff --git a/includes/changetags/ChangeTags.php b/includes/changetags/ChangeTags.php index b28983f9ef..0e360098fc 100644 --- a/includes/changetags/ChangeTags.php +++ b/includes/changetags/ChangeTags.php @@ -1590,10 +1590,8 @@ class ChangeTags { * @return array Array of string => int */ public static function tagUsageStatistics() { - global $wgChangeTagsSchemaMigrationStage, $wgTagStatisticsNewTable; - if ( $wgChangeTagsSchemaMigrationStage > MIGRATION_WRITE_BOTH || - ( $wgTagStatisticsNewTable && $wgChangeTagsSchemaMigrationStage > MIGRATION_OLD ) - ) { + global $wgChangeTagsSchemaMigrationStage; + if ( $wgChangeTagsSchemaMigrationStage > MIGRATION_WRITE_BOTH ) { return self::newTagUsageStatistics(); }