- } else {
- if ( file_put_contents( $file, '' ) === false ) {
- return Status::newFatal( 'config-sqlite-cant-create-db', $file );
- }
+ } elseif ( file_put_contents( $file, '' ) === false ) {
+ return Status::newFatal( 'config-sqlite-cant-create-db', $file );