X-Git-Url: http://git.cyclocoop.org/?a=blobdiff_plain;f=maintenance%2FdumpIterator.php;h=31272bcaa6c3f5bca792b5bd153942e3273594ea;hb=0433d5feb7da7d2d55ca5fc12276adc9adc59dff;hp=eef535adf31d2cc1ce1c03cde60ce0c56bf3ca84;hpb=d4ecfc1a5cd83fbd1afce89646376b3937aea299;p=lhc%2Fweb%2Fwiklou.git diff --git a/maintenance/dumpIterator.php b/maintenance/dumpIterator.php index eef535adf3..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;