diff options
Diffstat (limited to 'MLEB/Translate/utils/MessageGroupStatsRebuildJob.php')
-rw-r--r-- | MLEB/Translate/utils/MessageGroupStatsRebuildJob.php | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/MLEB/Translate/utils/MessageGroupStatsRebuildJob.php b/MLEB/Translate/utils/MessageGroupStatsRebuildJob.php index 53c3a496..4b7ab9cb 100644 --- a/MLEB/Translate/utils/MessageGroupStatsRebuildJob.php +++ b/MLEB/Translate/utils/MessageGroupStatsRebuildJob.php @@ -73,8 +73,7 @@ class MessageGroupStatsRebuildJob extends GenericTranslateJob { if ( isset( $params[ 'groupid' ] ) ) { MessageGroupStats::forGroup( $params[ 'groupid' ], $flags ); } elseif ( isset( $params[ 'cleargroups' ] ) ) { - // clearGroup takes an array of group ids, but no flags - MessageGroupStats::clearGroup( $params[ 'cleargroups' ] ); + MessageGroupStats::clearGroup( $params[ 'cleargroups' ], $flags ); } elseif ( isset( $params[ 'languagecode' ] ) ) { MessageGroupStats::forLanguage( $params[ 'languagecode' ], $flags ); } else { |