phpmyadmin/libraries/classes/Controllers/DatabaseController.php
Maurício Meneghini Fauth 111cb5db40 Extract controllers from AjaxController
Extracts the config set and get to the ConfigController, the databases
list to the DatabaseController, the tables list to the TableController
and the columns list to the ColumnController.

Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
2020-10-12 19:57:17 -03:00

16 lines
270 B
PHP

<?php
declare(strict_types=1);
namespace PhpMyAdmin\Controllers;
final class DatabaseController extends AbstractController
{
public function all(): void
{
global $dblist;
$this->response->addJSON(['databases' => $dblist->databases]);
}
}