X-Git-Url: https://git.heureux-cyclage.org/?a=blobdiff_plain;f=maintenance%2FdumpTextPass.php;h=fdc36c7bc1497b7eef96a0ed84c257f2fad35e9f;hb=ce6be3292e7d44d06f0aba8b98fbbbab80c5630c;hp=0604f4886b62e2a42d318ae9afda2f006f92c8fb;hpb=af426aadeda306e17de7fd8c62b62e1caa37a4ef;p=lhc%2Fweb%2Fwiklou.git diff --git a/maintenance/dumpTextPass.php b/maintenance/dumpTextPass.php index 0604f4886b..fdc36c7bc1 100644 --- a/maintenance/dumpTextPass.php +++ b/maintenance/dumpTextPass.php @@ -143,8 +143,6 @@ TEXT } function processOptions() { - global $IP; - parent::processOptions(); if ( $this->hasOption( 'buffersize' ) ) { @@ -152,7 +150,6 @@ TEXT } if ( $this->hasOption( 'prefetch' ) ) { - require_once "$IP/maintenance/backupPrefetch.inc"; $url = $this->processFileOpt( $this->getOption( 'prefetch' ) ); $this->prefetch = new BaseDump( $url ); } @@ -989,5 +986,5 @@ TEXT } } -$maintClass = 'TextPassDumper'; +$maintClass = TextPassDumper::class; require_once RUN_MAINTENANCE_IF_MAIN;