X-Git-Url: http://git.cyclocoop.org/?a=blobdiff_plain;f=maintenance%2FupdateSearchIndex.php;h=8a895f2709a4a12bc8ca584097b397cffd5f9832;hb=659fd5ec9cecbb7f3774107a28a26b2b244de4a1;hp=756de27504829e750e99a0ccd88e3557ce78b709;hpb=1241ccd3c3417ded797b2fc19ac506bd337373ee;p=lhc%2Fweb%2Fwiklou.git diff --git a/maintenance/updateSearchIndex.php b/maintenance/updateSearchIndex.php index 756de27504..8a895f2709 100644 --- a/maintenance/updateSearchIndex.php +++ b/maintenance/updateSearchIndex.php @@ -111,7 +111,7 @@ class UpdateSearchIndex extends Maintenance { WHERE rc_type != " . RC_LOG . " AND rc_timestamp BETWEEN '$start' AND '$end'"; $res = $dbw->query( $sql, __METHOD__ ); - $this->updateSearchIndex( $maxLockTime, array( $this, 'searchIndexUpdateCallback' ), $dbw, $res ); + $this->updateSearchIndex( $maxLockTime, [ $this, 'searchIndexUpdateCallback' ], $dbw, $res ); $this->output( "Done\n" ); }