phpmyadmin/tbl_recent_favorite.php
Madhura Jayaratne 72b6d68d34 Do not check for the validity of all recent tables on initial loading.
Signed-off-by: Madhura Jayaratne <madhura.cj@gmail.com>
2014-10-20 12:29:48 +05:30

19 lines
481 B
PHP

<?php
/* vim: set expandtab sw=4 ts=4 sts=4: */
/**
* Browse recent and favourite tables chosen from navigation
*
* @package PhpMyAdmin
*/
require_once 'libraries/common.inc.php';
require_once 'libraries/RecentFavoriteTable.class.php';
PMA_RecentFavoriteTable::getInstance('recent')
->removeIfInvalid($_REQUEST['db'], $_REQUEST['table']);
PMA_RecentFavoriteTable::getInstance('favorite')
->removeIfInvalid($_REQUEST['db'], $_REQUEST['table']);
require 'sql.php';
?>