Merge branch 'QA_4_6' into QA_4_6-security
This commit is contained in:
commit
665a5fcbe2
@ -2973,7 +2973,7 @@ class Util
|
||||
*/
|
||||
public static function cacheExists($var)
|
||||
{
|
||||
return isset($_SESSION['cache']['server_' . $GLOBALS['server']][$var]);
|
||||
return isset($_SESSION['cache']['server_' . $GLOBALS['server'] . '_' . $GLOBALS['cfg']['Server']['user']][$var]);
|
||||
}
|
||||
|
||||
/**
|
||||
@ -2987,7 +2987,7 @@ class Util
|
||||
public static function cacheGet($var, $callback = null)
|
||||
{
|
||||
if (self::cacheExists($var)) {
|
||||
return $_SESSION['cache']['server_' . $GLOBALS['server']][$var];
|
||||
return $_SESSION['cache']['server_' . $GLOBALS['server'] . '_' . $GLOBALS['cfg']['Server']['user']][$var];
|
||||
} else {
|
||||
if ($callback) {
|
||||
$val = $callback();
|
||||
@ -3008,7 +3008,7 @@ class Util
|
||||
*/
|
||||
public static function cacheSet($var, $val = null)
|
||||
{
|
||||
$_SESSION['cache']['server_' . $GLOBALS['server']][$var] = $val;
|
||||
$_SESSION['cache']['server_' . $GLOBALS['server'] . '_' . $GLOBALS['cfg']['Server']['user']][$var] = $val;
|
||||
}
|
||||
|
||||
/**
|
||||
@ -3020,7 +3020,7 @@ class Util
|
||||
*/
|
||||
public static function cacheUnset($var)
|
||||
{
|
||||
unset($_SESSION['cache']['server_' . $GLOBALS['server']][$var]);
|
||||
unset($_SESSION['cache']['server_' . $GLOBALS['server'] . '_' . $GLOBALS['cfg']['Server']['user']][$var]);
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
1512
po/be@latin.po
1512
po/be@latin.po
File diff suppressed because it is too large
Load Diff
1514
po/en_GB.po
1514
po/en_GB.po
File diff suppressed because it is too large
Load Diff
1522
po/phpmyadmin.pot
1522
po/phpmyadmin.pot
File diff suppressed because it is too large
Load Diff
1514
po/pt_BR.po
1514
po/pt_BR.po
File diff suppressed because it is too large
Load Diff
1510
po/sr@latin.po
1510
po/sr@latin.po
File diff suppressed because it is too large
Load Diff
1516
po/uz@latin.po
1516
po/uz@latin.po
File diff suppressed because it is too large
Load Diff
1514
po/zh_CN.po
1514
po/zh_CN.po
File diff suppressed because it is too large
Load Diff
1518
po/zh_TW.po
1518
po/zh_TW.po
File diff suppressed because it is too large
Load Diff
@ -149,7 +149,7 @@ class PMA_SetupIndex_Test extends PHPUnit_Framework_TestCase
|
||||
$result = ob_get_clean();
|
||||
|
||||
$this->assertContains(
|
||||
'<div class="type" id="0"><h4>foo</h4>123</div>',
|
||||
'<div class="type hiddenmessage" id="0"><h4>foo</h4>123</div>',
|
||||
$result
|
||||
);
|
||||
|
||||
@ -157,21 +157,6 @@ class PMA_SetupIndex_Test extends PHPUnit_Framework_TestCase
|
||||
'<div class="type" id="1"><h4>bar</h4>321</div>',
|
||||
$result
|
||||
);
|
||||
|
||||
$this->assertContains(
|
||||
'<script type="text/javascript">',
|
||||
$result
|
||||
);
|
||||
|
||||
$this->assertContains(
|
||||
"hiddenMessages.push('0');",
|
||||
$result
|
||||
);
|
||||
|
||||
$this->assertContains(
|
||||
"</script>",
|
||||
$result
|
||||
);
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Loading…
Reference in New Issue
Block a user