mirror of
https://github.com/vrana/adminer.git
synced 2026-06-16 16:00:04 +02:00
PHPStan: Fix level 1 errors
This commit is contained in:
@@ -338,7 +338,7 @@ if (isset($_GET["pgsql"])) {
|
||||
return $connection->error;
|
||||
}
|
||||
|
||||
function get_databases() {
|
||||
function get_databases($flush) {
|
||||
return get_vals("SELECT datname FROM pg_database
|
||||
WHERE datallowconn = TRUE AND has_database_privilege(datname, 'CONNECT')
|
||||
ORDER BY datname");
|
||||
|
||||
Reference in New Issue
Block a user