X-Git-Url: http://git.cyclocoop.org/?a=blobdiff_plain;f=maintenance%2FexportSites.php;h=b1e4fa943b96e33d8eaaf989f2dad353fbf19ae4;hb=b5d93579cc689629c34b61695d07a938f4a28ce4;hp=157a3234bcb0225720041ca3896d81c0a99a75e2;hpb=d4ecfc1a5cd83fbd1afce89646376b3937aea299;p=lhc%2Fweb%2Fwiklou.git diff --git a/maintenance/exportSites.php b/maintenance/exportSites.php index 157a3234bc..b1e4fa943b 100644 --- a/maintenance/exportSites.php +++ b/maintenance/exportSites.php @@ -42,8 +42,8 @@ class ExportSites extends Maintenance { $exporter = new SiteExporter( $handle ); - $sites = SiteSQLStore::newInstance()->getSites( 'recache' ); - $exporter->exportSites( $sites ); + $siteLookup = \MediaWiki\MediaWikiServices::getInstance()->getSiteLookup(); + $exporter->exportSites( $siteLookup->getSites() ); fclose( $handle );