mirror of
https://github.com/vrana/adminer.git
synced 2025-08-13 18:14:07 +02:00
Use namespaces in plugins
This commit is contained in:
@@ -33,7 +33,7 @@ class AdminerDumpJson {
|
||||
echo "{\n";
|
||||
register_shutdown_function(array($this, '_database'));
|
||||
}
|
||||
$connection = connection();
|
||||
$connection = Adminer\connection();
|
||||
$result = $connection->query($query, 1);
|
||||
if ($result) {
|
||||
echo '"' . addcslashes($table, "\r\n\"\\") . "\": [\n";
|
||||
@@ -42,9 +42,9 @@ class AdminerDumpJson {
|
||||
echo ($first ? "" : ", ");
|
||||
$first = false;
|
||||
foreach ($row as $key => $val) {
|
||||
json_row($key, $val);
|
||||
Adminer\json_row($key, $val);
|
||||
}
|
||||
json_row("");
|
||||
Adminer\json_row("");
|
||||
}
|
||||
echo "]";
|
||||
}
|
||||
|
Reference in New Issue
Block a user