X-Git-Url: https://git.heureux-cyclage.org/?a=blobdiff_plain;f=maintenance%2Fbackup.inc;h=ffc75c6bbf7b7b586f8eb16dc0b4c442eeb62683;hb=cc663e8f115f01fdb66968d2899120e9e6edad7a;hp=00dbd00c86d72457c37ec718f21af057869e00ef;hpb=a620ccb99ce905d8d8afd51fce2bdb7647cad958;p=lhc%2Fweb%2Fwiklou.git diff --git a/maintenance/backup.inc b/maintenance/backup.inc index 00dbd00c86..ffc75c6bbf 100644 --- a/maintenance/backup.inc +++ b/maintenance/backup.inc @@ -82,15 +82,15 @@ class BackupDumper extends Maintenance { $this->stderr = fopen( "php://stderr", "wt" ); // Built-in output and filter plugins - $this->registerOutput( 'file', 'DumpFileOutput' ); - $this->registerOutput( 'gzip', 'DumpGZipOutput' ); - $this->registerOutput( 'bzip2', 'DumpBZip2Output' ); - $this->registerOutput( 'dbzip2', 'DumpDBZip2Output' ); - $this->registerOutput( '7zip', 'Dump7ZipOutput' ); - - $this->registerFilter( 'latest', 'DumpLatestFilter' ); - $this->registerFilter( 'notalk', 'DumpNotalkFilter' ); - $this->registerFilter( 'namespace', 'DumpNamespaceFilter' ); + $this->registerOutput( 'file', DumpFileOutput::class ); + $this->registerOutput( 'gzip', DumpGZipOutput::class ); + $this->registerOutput( 'bzip2', DumpBZip2Output::class ); + $this->registerOutput( 'dbzip2', DumpDBZip2Output::class ); + $this->registerOutput( '7zip', Dump7ZipOutput::class ); + + $this->registerFilter( 'latest', DumpLatestFilter::class ); + $this->registerFilter( 'notalk', DumpNotalkFilter::class ); + $this->registerFilter( 'namespace', DumpNamespaceFilter::class ); // These three can be specified multiple times $this->addOption( 'plugin', 'Load a dump plugin class. Specify as [:].',