mirror of
https://github.com/vrana/adminer.git
synced 2025-08-11 17:14:07 +02:00
Move connect() to Driver
This commit is contained in:
@@ -101,11 +101,6 @@ if (isset($_GET["firebird"])) {
|
||||
return idf_escape($idf);
|
||||
}
|
||||
|
||||
function connect($credentials) {
|
||||
$connection = new Db;
|
||||
return ($connection->attach($credentials[0], $credentials[1], $credentials[2]) ?: $connection);
|
||||
}
|
||||
|
||||
function get_databases($flush) {
|
||||
return array("domain");
|
||||
}
|
||||
|
Reference in New Issue
Block a user