X-Git-Url: https://git.cyclocoop.org/%27.WWW_URL.%27admin/?a=blobdiff_plain;f=maintenance%2FdumpIterator.php;h=31272bcaa6c3f5bca792b5bd153942e3273594ea;hb=5335a84c9ef221d03f264834cf136d9dd11a749a;hp=eef535adf31d2cc1ce1c03cde60ce0c56bf3ca84;hpb=b67ab9de01a2eb95875d27a26eb9c30b22edf97e;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;