X-Git-Url: http://git.heureux-cyclage.org/?a=blobdiff_plain;f=maintenance%2FpopulateFilearchiveSha1.php;h=ef57640b1051d96abb5354a693b88aff773ceafc;hb=86a727b908e7c729d0ccfc67ff6c2cf27ff28928;hp=7c094be5fefb44e4574e847b4dd0b23e1cfe717b;hpb=ad776c7d5f8deee581bf3338c76c6312c3e2933e;p=lhc%2Fweb%2Fwiklou.git diff --git a/maintenance/populateFilearchiveSha1.php b/maintenance/populateFilearchiveSha1.php index 7c094be5fe..ef57640b10 100644 --- a/maintenance/populateFilearchiveSha1.php +++ b/maintenance/populateFilearchiveSha1.php @@ -56,7 +56,7 @@ class PopulateFilearchiveSha1 extends LoggedUpdateMaintenance { } $this->output( "Populating fa_sha1 field from fa_storage_key\n" ); - $endId = $dbw->selectField( $table, 'MAX(fa_id)', false, __METHOD__ ); + $endId = $dbw->selectField( $table, 'MAX(fa_id)', '', __METHOD__ ); $batchSize = $this->getBatchSize(); $done = 0;