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