Remove test for no longer used PMA_TEST_THEME

Signed-off-by: Michal Čihař <michal@cihar.com>
This commit is contained in:
Michal Čihař 2017-11-02 14:25:40 +01:00
parent 56ff2afb74
commit 369b0edb42
2 changed files with 2 additions and 3 deletions

View File

@ -77,8 +77,7 @@ function PMA_getImage(image, alternate, attributes) {
// this is private
alt: '',
title: '',
src: (typeof PMA_TEST_THEME == 'undefined' ? '' : '../')
+ 'themes/dot.gif'
src: 'themes/dot.gif'
},
isSprite: true,
attr: function (name, value) {

View File

@ -136,7 +136,7 @@ class Util
$class = str_replace(array('.gif','.png'), '', $image);
if (array_key_exists($class, $sprites)) {
$is_sprite = true;
$url = (defined('PMA_TEST_THEME') ? '../' : '') . 'themes/dot.gif';
$url = 'themes/dot.gif';
} elseif (isset($GLOBALS['pmaThemeImage'])) {
$url = $GLOBALS['pmaThemeImage'] . $image;
} else {