Update website
This commit is contained in:
parent
bb4b0f9be8
commit
011b183e28
4263 changed files with 3014 additions and 720369 deletions
|
@ -1,36 +0,0 @@
|
|||
<?php
|
||||
|
||||
declare(strict_types=1);
|
||||
|
||||
namespace PhpMyAdmin\Controllers\Export;
|
||||
|
||||
use PhpMyAdmin\Controllers\AbstractController;
|
||||
use PhpMyAdmin\Controllers\Database\ExportController;
|
||||
use PhpMyAdmin\ResponseRenderer;
|
||||
use PhpMyAdmin\Template;
|
||||
|
||||
use function __;
|
||||
|
||||
final class TablesController extends AbstractController
|
||||
{
|
||||
/** @var ExportController */
|
||||
private $exportController;
|
||||
|
||||
public function __construct(ResponseRenderer $response, Template $template, ExportController $exportController)
|
||||
{
|
||||
parent::__construct($response, $template);
|
||||
$this->exportController = $exportController;
|
||||
}
|
||||
|
||||
public function __invoke(): void
|
||||
{
|
||||
if (empty($_POST['selected_tbl'])) {
|
||||
$this->response->setRequestStatus(false);
|
||||
$this->response->addJSON('message', __('No table selected.'));
|
||||
|
||||
return;
|
||||
}
|
||||
|
||||
($this->exportController)();
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue