diff options
author | Maurício Meneghini Fauth <mauriciofauth@gmail.com> | 2017-06-02 20:09:23 +0300 |
---|---|---|
committer | Maurício Meneghini Fauth <mauriciofauth@gmail.com> | 2017-06-03 06:52:22 +0300 |
commit | e330402b5b57380587c576d1c03c542176423681 (patch) | |
tree | bcd0552fab0be5eb957d053ab32ed7d65c8d4b85 /db_central_columns.php | |
parent | 2af08b93f10660db3e14884ff792ed153ec9df50 (diff) |
Refactor the core functions into static methods
Signed-off-by: Maurício Meneghini Fauth <mauriciofauth@gmail.com>
Diffstat (limited to 'db_central_columns.php')
-rw-r--r-- | db_central_columns.php | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/db_central_columns.php b/db_central_columns.php index 321b4e9b82..b576412a75 100644 --- a/db_central_columns.php +++ b/db_central_columns.php @@ -6,6 +6,8 @@ * * @package PhpMyAdmin */ + +use PMA\libraries\Core; use PMA\libraries\URL; use PMA\libraries\Response; @@ -95,7 +97,7 @@ if (isset($_REQUEST['total_rows']) && $_REQUEST['total_rows']) { } else { $total_rows = PMA_getCentralColumnsCount($db); } -if (PMA_isValid($_REQUEST['pos'], 'integer')) { +if (Core::isValid($_REQUEST['pos'], 'integer')) { $pos = intval($_REQUEST['pos']); } else { $pos = 0; |