X-Git-Url: https://git.heureux-cyclage.org/?a=blobdiff_plain;f=maintenance%2FupdateDoubleWidthSearch.php;h=810af57f7d8cfbbf2d2d47c85ef8d18e91771bc6;hb=32fc919220e83872ada63e5e4954d9b7402a66ce;hp=cb2f125eca3cb619ef1505b063de1de1abe6fcc4;hpb=6e9b4f0e9ce4ccd6089c18b205065ef7fa077484;p=lhc%2Fweb%2Fwiklou.git diff --git a/maintenance/updateDoubleWidthSearch.php b/maintenance/updateDoubleWidthSearch.php index cb2f125eca..810af57f7d 100644 --- a/maintenance/updateDoubleWidthSearch.php +++ b/maintenance/updateDoubleWidthSearch.php @@ -53,7 +53,7 @@ class UpdateDoubleWidthSearch extends Maintenance { $dbw = $this->getDB( DB_MASTER ); if ( $dbw->getType() !== 'mysql' ) { - $this->error( "This change is only needed on MySQL, quitting.\n", true ); + $this->fatalError( "This change is only needed on MySQL, quitting.\n" ); } $res = $this->findRows( $dbw ); @@ -77,5 +77,5 @@ class UpdateDoubleWidthSearch extends Maintenance { } } -$maintClass = "UpdateDoubleWidthSearch"; +$maintClass = UpdateDoubleWidthSearch::class; require_once RUN_MAINTENANCE_IF_MAIN;