X-Git-Url: https://git.heureux-cyclage.org/?p=lhc%2Fweb%2Fwiklou.git;a=blobdiff_plain;f=maintenance%2FpopulateParentId.php;h=2ef58b7c6154910b1160ca2512396511bbac04cd;hp=39bc7331619591477532510ed77fd6747ae9d43c;hb=a2c8c2969420a0f150c03f76e3a0bf9028fcda43;hpb=ee3147729028e025b177ff459a2f1670aef8a247 diff --git a/maintenance/populateParentId.php b/maintenance/populateParentId.php index 39bc733161..2ef58b7c61 100644 --- a/maintenance/populateParentId.php +++ b/maintenance/populateParentId.php @@ -54,8 +54,8 @@ class PopulateParentId extends LoggedUpdateMaintenance { return false; } $this->output( "Populating rev_parent_id column\n" ); - $start = $db->selectField( 'revision', 'MIN(rev_id)', false, __FUNCTION__ ); - $end = $db->selectField( 'revision', 'MAX(rev_id)', false, __FUNCTION__ ); + $start = $db->selectField( 'revision', 'MIN(rev_id)', '', __FUNCTION__ ); + $end = $db->selectField( 'revision', 'MAX(rev_id)', '', __FUNCTION__ ); if ( is_null( $start ) || is_null( $end ) ) { $this->output( "...revision table seems to be empty, nothing to do.\n" );