Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/phpmyadmin/phpmyadmin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWilliam Desportes <williamdes@wdes.fr>2020-05-21 14:25:18 +0300
committerWilliam Desportes <williamdes@wdes.fr>2020-05-21 14:26:48 +0300
commitfe32a359dca1d0c522d8c8b7991974ef50469c22 (patch)
treedb7db11d8be8bd22eca587eb875acfd7185b8c6c /test/bootstrap-dist.php
parentf89f4c9f2cfe4e43e96f62cdc513e6fff7e17f1d (diff)
Move PMA_VERSION calls into defineVersionConstants() for tests
Signed-off-by: William Desportes <williamdes@wdes.fr>
Diffstat (limited to 'test/bootstrap-dist.php')
-rw-r--r--test/bootstrap-dist.php8
1 files changed, 0 insertions, 8 deletions
diff --git a/test/bootstrap-dist.php b/test/bootstrap-dist.php
index 66e305db18..137cde2445 100644
--- a/test/bootstrap-dist.php
+++ b/test/bootstrap-dist.php
@@ -77,13 +77,5 @@ $GLOBALS['PMA_Config'] = new Config();
$GLOBALS['PMA_Config']->set('environment', 'development');
$GLOBALS['cfg']['environment'] = 'development';
-// Initialize PMA_VERSION variable
-// phpcs:disable PSR1.Files.SideEffects
-if (! defined('PMA_VERSION')) {
- define('PMA_VERSION', $GLOBALS['PMA_Config']->get('PMA_VERSION'));
- define('PMA_MAJOR_VERSION', $GLOBALS['PMA_Config']->get('PMA_MAJOR_VERSION'));
-}
-// phpcs:enable
-
/* Load Database interface */
$GLOBALS['dbi'] = DatabaseInterface::load(new DbiDummy());