mirror of
https://github.com/vrana/adminer.git
synced 2025-08-12 17:44:07 +02:00
Use connection() instead of $connection
This commit is contained in:
@@ -25,8 +25,7 @@ class AdminerDumpXml {
|
||||
$this->database = true;
|
||||
echo "<database name='" . Adminer\h(Adminer\DB) . "'>\n";
|
||||
}
|
||||
$connection = Adminer\connection();
|
||||
$result = $connection->query($query, 1);
|
||||
$result = Adminer\connection()->query($query, 1);
|
||||
if ($result) {
|
||||
while ($row = $result->fetch_assoc()) {
|
||||
echo "\t<table name='" . Adminer\h($table) . "'>\n";
|
||||
|
Reference in New Issue
Block a user