apply StyleCI recommendation

This commit is contained in:
El RIDO 2024-05-01 21:04:29 +02:00
parent 2b2b6f2e41
commit 58a235e068
No known key found for this signature in database
GPG key ID: 0F5C940A6BD81F92

View file

@ -918,7 +918,7 @@ class Database extends AbstractData
$supportsDropColumn = true;
if ($this->_type === 'sqlite') {
try {
$row = $this->_select('SELECT sqlite_version() AS "v"', array(), true);
$row = $this->_select('SELECT sqlite_version() AS "v"', array(), true);
$supportsDropColumn = version_compare($row['v'], '3.35.0', '>=');
} catch (PDOException $e) {
$supportsDropColumn = false;