mirror of
https://github.com/vrana/adminer.git
synced 2025-08-13 10:04:07 +02:00
Use connection() instead of $connection
This commit is contained in:
@@ -27,8 +27,7 @@ class AdminerDumpJson {
|
||||
$this->database = true;
|
||||
echo "{\n";
|
||||
}
|
||||
$connection = Adminer\connection();
|
||||
$result = $connection->query($query, 1);
|
||||
$result = Adminer\connection()->query($query, 1);
|
||||
if ($result) {
|
||||
echo '"' . addcslashes($table, "\r\n\"\\") . "\": [\n";
|
||||
$first = true;
|
||||
|
Reference in New Issue
Block a user