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 /version_check.php | |
parent | 2af08b93f10660db3e14884ff792ed153ec9df50 (diff) |
Refactor the core functions into static methods
Signed-off-by: Maurício Meneghini Fauth <mauriciofauth@gmail.com>
Diffstat (limited to 'version_check.php')
-rw-r--r-- | version_check.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/version_check.php b/version_check.php index c62d128e8c..ac06b80cd5 100644 --- a/version_check.php +++ b/version_check.php @@ -6,7 +6,7 @@ * @package PhpMyAdmin */ -// Sets up the session +use PMA\libraries\Core; use PMA\libraries\VersionInformation; use PMA\libraries\Response; @@ -18,7 +18,7 @@ require_once 'libraries/common.inc.php'; Response::getInstance()->disable(); // Always send the correct headers -PMA_headerJSON(); +Core::headerJSON(); $versionInformation = new VersionInformation(); $versionDetails = $versionInformation->getLatestVersion(); |