aboutsummaryrefslogtreecommitdiff
path: root/srcs/phpmyadmin/tbl_recent_favorite.php
diff options
context:
space:
mode:
Diffstat (limited to 'srcs/phpmyadmin/tbl_recent_favorite.php')
-rw-r--r--srcs/phpmyadmin/tbl_recent_favorite.php24
1 files changed, 0 insertions, 24 deletions
diff --git a/srcs/phpmyadmin/tbl_recent_favorite.php b/srcs/phpmyadmin/tbl_recent_favorite.php
deleted file mode 100644
index b19360a..0000000
--- a/srcs/phpmyadmin/tbl_recent_favorite.php
+++ /dev/null
@@ -1,24 +0,0 @@
-<?php
-/* vim: set expandtab sw=4 ts=4 sts=4: */
-/**
- * Browse recent and favourite tables chosen from navigation
- *
- * @package PhpMyAdmin
- */
-declare(strict_types=1);
-
-use PhpMyAdmin\RecentFavoriteTable;
-
-if (! defined('ROOT_PATH')) {
- define('ROOT_PATH', __DIR__ . DIRECTORY_SEPARATOR);
-}
-
-require_once ROOT_PATH . 'libraries/common.inc.php';
-
-RecentFavoriteTable::getInstance('recent')
- ->removeIfInvalid($_REQUEST['db'], $_REQUEST['table']);
-
-RecentFavoriteTable::getInstance('favorite')
- ->removeIfInvalid($_REQUEST['db'], $_REQUEST['table']);
-
-require ROOT_PATH . 'sql.php';