diff options
author | Madhura Jayaratne <madhura.cj@gmail.com> | 2014-10-20 10:59:48 +0400 |
---|---|---|
committer | Madhura Jayaratne <madhura.cj@gmail.com> | 2014-10-20 10:59:48 +0400 |
commit | 72b6d68d34f7565cd07fffe00f0527ab8391c855 (patch) | |
tree | 44f735b8aa563b45b12b8640afcdb76d62e5b780 /tbl_recent_favorite.php | |
parent | 9680410019dcfdd49c536d1b4608a85671ce2dfa (diff) |
Do not check for the validity of all recent tables on initial loading.
Signed-off-by: Madhura Jayaratne <madhura.cj@gmail.com>
Diffstat (limited to 'tbl_recent_favorite.php')
-rw-r--r-- | tbl_recent_favorite.php | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/tbl_recent_favorite.php b/tbl_recent_favorite.php new file mode 100644 index 0000000000..1d647e03a6 --- /dev/null +++ b/tbl_recent_favorite.php @@ -0,0 +1,19 @@ +<?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'; +?>
\ No newline at end of file |