X-Git-Url: https://git.heureux-cyclage.org/?p=lhc%2Fweb%2Fwiklou.git;a=blobdiff_plain;f=maintenance%2FdumpBackup.php;h=b942302e4662f2b01b071b91c3af437c9b9f9f2e;hp=9bf1222121adda053b0a3e40206f5baf77533b21;hb=74d04edec385aa86ee01943b9a27475d79f74e78;hpb=57eaa2bf04ce1b48bd89c10defe4de5b7d31f047 diff --git a/maintenance/dumpBackup.php b/maintenance/dumpBackup.php index 9bf1222121..b942302e46 100644 --- a/maintenance/dumpBackup.php +++ b/maintenance/dumpBackup.php @@ -22,10 +22,11 @@ * http://www.gnu.org/copyleft/gpl.html * * @file - * @ingroup Dump Maintenance + * @ingroup Dump + * @ingroup Maintenance */ -require_once __DIR__ . '/backup.inc'; +require_once __DIR__ . '/includes/BackupDumper.php'; class DumpBackup extends BackupDumper { function __construct( $args = null ) { @@ -87,7 +88,7 @@ TEXT } elseif ( $this->hasOption( 'revrange' ) ) { $this->dump( WikiExporter::RANGE, $textMode ); } else { - $this->error( 'No valid action specified.', 1 ); + $this->fatalError( 'No valid action specified.' ); } } @@ -133,5 +134,5 @@ TEXT } } -$maintClass = 'DumpBackup'; +$maintClass = DumpBackup::class; require_once RUN_MAINTENANCE_IF_MAIN;