diff options
author | Hugues Peccatte <hugues.peccatte@gmail.com> | 2015-08-25 19:10:07 +0300 |
---|---|---|
committer | Hugues Peccatte <hugues.peccatte@gmail.com> | 2015-09-01 22:22:52 +0300 |
commit | f0ba28fc1df881fa17e8f1670ca8261c5d416bd3 (patch) | |
tree | a3bf6dc1a29362b09460817448b2cd4d2b4e3a1b /tbl_recent_favorite.php | |
parent | a4456bde74a5770dfff1354a07bb24badce5c04f (diff) |
Set namespace on Advisor, Config, Console and Util classes.
Set namespace on DbQbe.
Set namespace to 'DbSearch'.
Split Advisor.class.php file.
Change Advisor namespace.
Rename DbQbe class and file.
Set namespace on DisplayResults.
Set namespace on Error.
Use namespace for ErrorHandler.
Add class autoloader.
Change ErrorHandler filename.
Remove some require.
Update Config namespace path.
Update PMA_Util to PMA\libraries\Util.
Rename Font and File classes files.
Use namespace for Footer.
Set namespace in all libraries classes.
Namespace OutputBuffering.
Export SubPartition.
Rename Partition file.
Namespace PDF.
Namespace RecentFavoriteTable.
Replace PMA_Response by Response and PMA_Message by Message.
Update uses and calls.
Fix unit tests.
Fix SqlParser autoload.
Signed-off-by: Hugues Peccatte <hugues.peccatte@gmail.com>
Diffstat (limited to 'tbl_recent_favorite.php')
-rw-r--r-- | tbl_recent_favorite.php | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/tbl_recent_favorite.php b/tbl_recent_favorite.php index 9e64121573..1d00ce974e 100644 --- a/tbl_recent_favorite.php +++ b/tbl_recent_favorite.php @@ -6,13 +6,15 @@ * @package PhpMyAdmin */ +use PMA\libraries\RecentFavoriteTable; + require_once 'libraries/common.inc.php'; -require_once 'libraries/RecentFavoriteTable.class.php'; +require_once 'libraries/RecentFavoriteTable.php'; -PMA_RecentFavoriteTable::getInstance('recent') +RecentFavoriteTable::getInstance('recent') ->removeIfInvalid($_REQUEST['db'], $_REQUEST['table']); -PMA_RecentFavoriteTable::getInstance('favorite') +RecentFavoriteTable::getInstance('favorite') ->removeIfInvalid($_REQUEST['db'], $_REQUEST['table']); require 'sql.php'; |