We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 6266000 + 3f976c2 commit 6df6b58Copy full SHA for 6df6b58
1 file changed
apps/settings/lib/SetupChecks/MysqlRowFormat.php
@@ -34,8 +34,8 @@ public function getCategory(): string {
34
}
35
36
public function run(): SetupResult {
37
- if (!$this->connection->getDatabaseProvider() === IDBConnection::PLATFORM_MYSQL
38
- && !$this->connection->getDatabaseProvider() === IDBConnection::PLATFORM_MARIADB) {
+ $provider = $this->connection->getDatabaseProvider();
+ if (!in_array($provider, [IDBConnection::PLATFORM_MYSQL, IDBConnection::PLATFORM_MARIADB], true)) {
39
return SetupResult::success($this->l10n->t('You are not using MySQL'));
40
41
0 commit comments