X-Git-Url: https://git.heureux-cyclage.org/w/index.php?a=blobdiff_plain;f=maintenance%2FpopulateLogSearch.php;h=589be48fa798932b225348b38084cc638732207a;hb=a7e2b91b2c72f3522a7a9c3c957a43309e70b92e;hp=332d7c5a3372574348a1ae26c2259f5509bd021d;hpb=27c61fb1e94da9114314468fd00bcf129ec064b6;p=lhc%2Fweb%2Fwiklou.git diff --git a/maintenance/populateLogSearch.php b/maintenance/populateLogSearch.php index 332d7c5a33..589be48fa7 100644 --- a/maintenance/populateLogSearch.php +++ b/maintenance/populateLogSearch.php @@ -62,13 +62,13 @@ class PopulateLogSearch extends LoggedUpdateMaintenance { return false; } - $start = $db->selectField( 'logging', 'MIN(log_id)', false, __FUNCTION__ ); + $start = $db->selectField( 'logging', 'MIN(log_id)', '', __FUNCTION__ ); if ( !$start ) { $this->output( "Nothing to do.\n" ); return true; } - $end = $db->selectField( 'logging', 'MAX(log_id)', false, __FUNCTION__ ); + $end = $db->selectField( 'logging', 'MAX(log_id)', '', __FUNCTION__ ); # Do remaining chunk $end += $batchSize - 1;