Unify dumpTable declarations (bug #707)
This commit is contained in:
parent
a4e997fe60
commit
08c132cbea
5 changed files with 5 additions and 5 deletions
|
@ -537,7 +537,7 @@ qsl('div').onclick = whisperClick;", "")
|
|||
function dumpDatabase($db) {
|
||||
}
|
||||
|
||||
function dumpTable() {
|
||||
function dumpTable($table, $style, $is_view = 0) {
|
||||
echo "\xef\xbb\xbf"; // UTF-8 byte order mark
|
||||
}
|
||||
|
||||
|
|
|
@ -67,7 +67,7 @@ SELECT @adminer_alter;
|
|||
}
|
||||
}
|
||||
|
||||
function dumpTable($table, $style, $is_view = false) {
|
||||
function dumpTable($table, $style, $is_view = 0) {
|
||||
if ($_POST["format"] == "sql_alter") {
|
||||
$create = create_sql($table, $_POST["auto_increment"], $style);
|
||||
if ($is_view) {
|
||||
|
|
|
@ -14,7 +14,7 @@ class AdminerDumpJson {
|
|||
return array('json' => 'JSON');
|
||||
}
|
||||
|
||||
function dumpTable($table, $style, $is_view = false) {
|
||||
function dumpTable($table, $style, $is_view = 0) {
|
||||
if ($_POST["format"] == "json") {
|
||||
return true;
|
||||
}
|
||||
|
|
|
@ -20,7 +20,7 @@ class AdminerDumpPhp {
|
|||
}
|
||||
}
|
||||
|
||||
function dumpTable($table) {
|
||||
function dumpTable($table, $style, $is_view = 0) {
|
||||
if ($_POST['format'] == 'php') {
|
||||
$this->output[$table] = array();
|
||||
if (!$this->shutdown_callback) {
|
||||
|
|
|
@ -14,7 +14,7 @@ class AdminerDumpXml {
|
|||
return array('xml' => 'XML');
|
||||
}
|
||||
|
||||
function dumpTable($table, $style, $is_view = false) {
|
||||
function dumpTable($table, $style, $is_view = 0) {
|
||||
if ($_POST["format"] == "xml") {
|
||||
return true;
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue