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 /tbl_create.php | |
parent | 2af08b93f10660db3e14884ff792ed153ec9df50 (diff) |
Refactor the core functions into static methods
Signed-off-by: Maurício Meneghini Fauth <mauriciofauth@gmail.com>
Diffstat (limited to 'tbl_create.php')
-rw-r--r-- | tbl_create.php | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/tbl_create.php b/tbl_create.php index c275275521..1beffcb3c7 100644 --- a/tbl_create.php +++ b/tbl_create.php @@ -6,6 +6,7 @@ * @package PhpMyAdmin */ +use PMA\libraries\Core; use PMA\libraries\Response; use PMA\libraries\Transformations; use PMA\libraries\URL; @@ -62,7 +63,7 @@ if (isset($_REQUEST['do_save_data'])) { // If there is a request for SQL previewing. if (isset($_REQUEST['preview_sql'])) { - PMA_previewSQL($sql_query); + Core::previewSQL($sql_query); } // Executes the query $result = $GLOBALS['dbi']->tryQuery($sql_query); |