1
0
mirror of https://github.com/vrana/adminer.git synced 2025-08-08 15:47:00 +02:00

Simplify saving flavor

This commit is contained in:
Jakub Vrana
2025-03-25 06:15:09 +01:00
parent 001f5ac21a
commit 2c72b879e9
2 changed files with 2 additions and 2 deletions

View File

@@ -187,7 +187,7 @@ if (isset($_GET["username"]) && is_string(get_password())) {
if ($adminer->operators === null) {
$adminer->operators = $driver->operators;
}
if (Driver::$jush == 'sql' || $connection->flavor == 'cockroach') {
if ($connection->flavor) {
save_settings(array("vendor-" . DRIVER . "-" . SERVER => $drivers[DRIVER]));
}
}