X-Git-Url: https://git.heureux-cyclage.org/?a=blobdiff_plain;f=maintenance%2Fsqlite.php;h=454c506365a3f525ac837ee5cf196c6dfc9ca62d;hb=6a8de1f1aa0bcdbf9385a4f9a01a4ef3bb70be57;hp=5cc35edc559a83d37ad4692b2b24eb5aa132c853;hpb=4dc3ac1c375b3d2eb6172dfef8fdebe71b8c5f43;p=lhc%2Fweb%2Fwiklou.git diff --git a/maintenance/sqlite.php b/maintenance/sqlite.php index 5cc35edc55..454c506365 100644 --- a/maintenance/sqlite.php +++ b/maintenance/sqlite.php @@ -128,10 +128,10 @@ class SqliteMaintenance extends Maintenance { } private function checkSyntax() { - if ( !Sqlite::IsPresent() ) { + if ( !Sqlite::isPresent() ) { $this->error( "Error: SQLite support not found\n" ); } - $files = array( $this->getOption( 'check-syntax' ) ); + $files = [ $this->getOption( 'check-syntax' ) ]; $files += $this->mArgs; $result = Sqlite::checkSqlSyntax( $files ); if ( $result === true ) {