diff options
Diffstat (limited to 'MLEB/Translate/scripts/populateFuzzy.php')
-rw-r--r-- | MLEB/Translate/scripts/populateFuzzy.php | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/MLEB/Translate/scripts/populateFuzzy.php b/MLEB/Translate/scripts/populateFuzzy.php index 43c491d0..75451d27 100644 --- a/MLEB/Translate/scripts/populateFuzzy.php +++ b/MLEB/Translate/scripts/populateFuzzy.php @@ -74,10 +74,7 @@ class PopulateFuzzy extends Maintenance { break; } - $slots = []; - if ( is_callable( [ $revStore, 'getContentBlobsForBatch' ] ) ) { - $slots = $revStore->getContentBlobsForBatch( $res, [ SlotRecord::MAIN ] )->getValue(); - } + $slots = $revStore->getContentBlobsForBatch( $res, [ SlotRecord::MAIN ] )->getValue(); foreach ( $res as $r ) { if ( isset( $slots[$r->rev_id] ) ) { $text = $slots[$r->rev_id][SlotRecord::MAIN]->blob_data; |