@@ 70-74 (lines=5) @@ | ||
67 | case 'structureonly': |
|
68 | // Check to see if they have pg_dump set up and if they do, use that |
|
69 | // instead of custom dump code |
|
70 | if (!$forcemimic && $this->misc->isDumpEnabled()) { |
|
71 | $dbexport_controller = new \PHPPgAdmin\Controller\DbexportController($this->getContainer()); |
|
72 | ||
73 | return $dbexport_controller->render(); |
|
74 | } |
|
75 | $clean = isset($_REQUEST['s_clean']); |
|
76 | ||
77 | break; |
|
@@ 81-85 (lines=5) @@ | ||
78 | case 'structureanddata': |
|
79 | // Check to see if they have pg_dump set up and if they do, use that |
|
80 | // instead of custom dump code |
|
81 | if (!$forcemimic && $this->misc->isDumpEnabled()) { |
|
82 | $dbexport_controller = new \PHPPgAdmin\Controller\DbexportController($this->getContainer()); |
|
83 | ||
84 | return $dbexport_controller->render(); |
|
85 | } |
|
86 | $format = $_REQUEST['sd_format']; |
|
87 | $clean = isset($_REQUEST['sd_clean']); |
|
88 | $oids = isset($_REQUEST['sd_oids']); |