X-Git-Url: http://git.heureux-cyclage.org/?a=blobdiff_plain;f=maintenance%2FdumpIterator.php;h=31272bcaa6c3f5bca792b5bd153942e3273594ea;hb=9ba3fca2d8adc56787c8efc32c41424cb212e387;hp=0f39513fa058c98df696f8ed80d5ef967e4f24b2;hpb=df85890b76b18e0c9bc465984b63df6090955a5a;p=lhc%2Fweb%2Fwiklou.git diff --git a/maintenance/dumpIterator.php b/maintenance/dumpIterator.php index 0f39513fa0..31272bcaa6 100644 --- a/maintenance/dumpIterator.php +++ b/maintenance/dumpIterator.php @@ -76,7 +76,7 @@ abstract class DumpIterator extends Maintenance { $importer = new WikiImporter( $source, $this->getConfig() ); $importer->setRevisionCallback( - array( $this, 'handleRevision' ) ); + [ $this, 'handleRevision' ] ); $this->from = $this->getOption( 'from', null ); $this->count = 0;