Merge remote-tracking branch 'origin/master'
This commit is contained in:
commit
e225e3502e
@ -19,12 +19,10 @@ class PMA_Font
|
||||
/**
|
||||
* Get list with characters and the corresponding width modifiers.
|
||||
*
|
||||
* @param string $font name of the font like Arial,sans-serif etc
|
||||
*
|
||||
* @return array with characters and corresponding width modifier
|
||||
* @access public
|
||||
*/
|
||||
public static function getCharLists($font)
|
||||
public static function getCharLists()
|
||||
{
|
||||
// list of characters and their width modifiers
|
||||
$charLists = array();
|
||||
@ -96,7 +94,7 @@ class PMA_Font
|
||||
|| !isset($charLists[0]["chars"]) || !is_array($charLists[0]["chars"])
|
||||
|| !isset($charLists[0]["modifier"])
|
||||
) {
|
||||
$charLists = self::getCharLists($font);
|
||||
$charLists = self::getCharLists();
|
||||
}
|
||||
|
||||
/*
|
||||
|
||||
@ -746,7 +746,6 @@ class PMA_Message
|
||||
*/
|
||||
public function getMessageWithIcon($message)
|
||||
{
|
||||
$image = '';
|
||||
if ('error' == $this->getLevel()) {
|
||||
$image = 's_error.png';
|
||||
} elseif ('success' == $this->getLevel()) {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user