X-Git-Url: http://git.cyclocoop.org/?a=blobdiff_plain;f=maintenance%2FupdateDoubleWidthSearch.php;h=810af57f7d8cfbbf2d2d47c85ef8d18e91771bc6;hb=487829b8a396233c28a36decceecde5f55cee575;hp=cb2f125eca3cb619ef1505b063de1de1abe6fcc4;hpb=e5facc46bc170c302438f60849041b0d6be75e82;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;