X-Git-Url: https://git.heureux-cyclage.org/?a=blobdiff_plain;f=maintenance%2FdumpBackup.php;h=b942302e4662f2b01b071b91c3af437c9b9f9f2e;hb=98f987241a798788817e87e2c4bec4c03ccdd8a5;hp=9bf1222121adda053b0a3e40206f5baf77533b21;hpb=61898ad28ed69c5b391eb43e0db9386279b9612c;p=lhc%2Fweb%2Fwiklou.git 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;