X-Git-Url: https://git.heureux-cyclage.org/?a=blobdiff_plain;f=maintenance%2FimportSites.php;h=daec7b62140032c1bd85e4e4f32fd9df09f91b7c;hb=071d62ea3cc9b3c3ac9f7efd4a0069f49b15c19d;hp=8845c60640c2706575fc03bb7eea0fee54f6ffaa;hpb=59db24e90bc6027cb8bf2756eb8cb52230d24966;p=lhc%2Fweb%2Fwiklou.git diff --git a/maintenance/importSites.php b/maintenance/importSites.php index 8845c60640..daec7b6214 100644 --- a/maintenance/importSites.php +++ b/maintenance/importSites.php @@ -31,7 +31,7 @@ class ImportSites extends Maintenance { $file = $this->getArg( 0 ); $importer = new SiteImporter( SiteSQLStore::newInstance() ); - $importer->setExceptionCallback( array( $this, 'reportException' ) ); + $importer->setExceptionCallback( [ $this, 'reportException' ] ); $importer->importFromFile( $file );