Update website
This commit is contained in:
parent
4413528994
commit
1d90fbf296
6865 changed files with 1091082 additions and 0 deletions
|
@ -0,0 +1,27 @@
|
|||
<?php
|
||||
|
||||
declare(strict_types=1);
|
||||
|
||||
namespace PhpMyAdmin\Controllers\Table;
|
||||
|
||||
use PhpMyAdmin\Controllers\Sql\SqlController;
|
||||
use PhpMyAdmin\RecentFavoriteTable;
|
||||
|
||||
/**
|
||||
* Browse recent and favorite tables chosen from navigation.
|
||||
*/
|
||||
class RecentFavoriteController extends AbstractController
|
||||
{
|
||||
public function __invoke(): void
|
||||
{
|
||||
global $containerBuilder;
|
||||
|
||||
RecentFavoriteTable::getInstance('recent')->removeIfInvalid($_REQUEST['db'], $_REQUEST['table']);
|
||||
|
||||
RecentFavoriteTable::getInstance('favorite')->removeIfInvalid($_REQUEST['db'], $_REQUEST['table']);
|
||||
|
||||
/** @var SqlController $controller */
|
||||
$controller = $containerBuilder->get(SqlController::class);
|
||||
$controller();
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue