Index: trunk/extensions/Translate/SpecialLanguageStats.php |
— | — | @@ -224,7 +224,6 @@ |
225 | 225 | } |
226 | 226 | |
227 | 227 | protected function makeGroupGroup( $item, $cache, $parent = '' ) { |
228 | | - $out = ''; |
229 | 228 | if ( !is_array( $item ) ) { |
230 | 229 | return $this->makeGroupRow( $item, $cache, $parent === '' ? false : $parent ); |
231 | 230 | } |
— | — | @@ -252,7 +251,7 @@ |
253 | 252 | $blacklisted = $this->isBlacklisted( $groupId, $code ); |
254 | 253 | |
255 | 254 | if ( $blacklisted !== null ) { |
256 | | - continue; |
| 255 | + return ''; |
257 | 256 | } |
258 | 257 | |
259 | 258 | $fuzzy = $translated = $total = 0; |
— | — | @@ -271,12 +270,12 @@ |
272 | 271 | if ( $total == 0 ) { |
273 | 272 | $zero = serialize( $total ); |
274 | 273 | error_log( __METHOD__ . ": Group $groupName has zero message ($code): $zero" ); |
275 | | - continue; |
| 274 | + return ''; |
276 | 275 | } |
277 | 276 | |
278 | 277 | // Skip if $suppressComplete and complete |
279 | 278 | if ( $suppressComplete && !$fuzzy && $translated === $total ) { |
280 | | - continue; |
| 279 | + return ''; |
281 | 280 | } |
282 | 281 | |
283 | 282 | if ( $translated === $total ) { |