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:
@@ -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]));
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user