X-Git-Url: https://git.heureux-cyclage.org/?a=blobdiff_plain;f=maintenance%2FfixDoubleRedirects.php;h=7e29f09ae767c8120049f051bac5005ac2f30cde;hb=cf0ebed65ad14dc9a48b0d69e0d77fc5f4f83e92;hp=8c9faca2ee8d76c5a76847900477b864ca2cb12b;hpb=aa90a7432870ac29ca794ca48d8ab5a705bba201;p=lhc%2Fweb%2Fwiklou.git diff --git a/maintenance/fixDoubleRedirects.php b/maintenance/fixDoubleRedirects.php index 8c9faca2ee..7e29f09ae7 100644 --- a/maintenance/fixDoubleRedirects.php +++ b/maintenance/fixDoubleRedirects.php @@ -48,7 +48,7 @@ class FixDoubleRedirects extends Maintenance { if ( $this->hasOption( 'title' ) ) { $title = Title::newFromText( $this->getOption( 'title' ) ); if ( !$title || !$title->isRedirect() ) { - $this->error( $title->getPrefixedText() . " is not a redirect!\n", true ); + $this->fatalError( $title->getPrefixedText() . " is not a redirect!\n" ); } } else { $title = null;