Fix codestyle
This commit is contained in:
parent
d8a575210f
commit
7694dcf4fd
@ -130,7 +130,7 @@ default:
|
||||
echo '<h2>' . __('Overview') . '</h2>';
|
||||
|
||||
// message handling
|
||||
messages_end();
|
||||
PMA_messagesEnd();
|
||||
messages_show_html();
|
||||
|
||||
echo '<a href="#" id="show_hidden_messages" style="display:none">';
|
||||
|
||||
@ -55,7 +55,7 @@ function PMA_messagesSet($type, $id, $title, $message)
|
||||
*
|
||||
* @return void
|
||||
*/
|
||||
function messages_end()
|
||||
function PMA_messagesEnd()
|
||||
{
|
||||
foreach ($_SESSION['messages'] as &$messages) {
|
||||
$remove_ids = array();
|
||||
@ -71,7 +71,7 @@ function messages_end()
|
||||
}
|
||||
|
||||
/**
|
||||
* Prints message list, must be called after messages_end()
|
||||
* Prints message list, must be called after PMA_messagesEnd()
|
||||
*
|
||||
* @return void
|
||||
*/
|
||||
@ -202,7 +202,7 @@ function check_config_rw(&$is_readable, &$is_writable, &$file_exists)
|
||||
* Performs various compatibility, security and consistency checks on current config
|
||||
*
|
||||
* Outputs results to message list, must be called between PMA_messagesBegin()
|
||||
* and messages_end()
|
||||
* and PMA_messagesEnd()
|
||||
*
|
||||
* @return void
|
||||
*/
|
||||
|
||||
@ -26,7 +26,7 @@ class PMA_SetupIndex_Test extends PHPUnit_Framework_TestCase
|
||||
*
|
||||
* @return void
|
||||
*/
|
||||
public function testPMA_messagesBegin()
|
||||
public function testPMAmessagesBegin()
|
||||
{
|
||||
$_SESSION['messages'] = array(
|
||||
array(
|
||||
@ -73,7 +73,7 @@ class PMA_SetupIndex_Test extends PHPUnit_Framework_TestCase
|
||||
*
|
||||
* @return void
|
||||
*/
|
||||
public function testPMA_messagesSet()
|
||||
public function testPMAmessagesSet()
|
||||
{
|
||||
PMA_messagesSet('type', '123', 'testTitle', 'msg');
|
||||
|
||||
@ -89,11 +89,11 @@ class PMA_SetupIndex_Test extends PHPUnit_Framework_TestCase
|
||||
}
|
||||
|
||||
/**
|
||||
* Test for messages_end
|
||||
* Test for PMA_messagesEnd
|
||||
*
|
||||
* @return void
|
||||
*/
|
||||
public function testMessagesEnd()
|
||||
public function testPMAmessagesEnd()
|
||||
{
|
||||
$_SESSION['messages'] = array(
|
||||
array(
|
||||
@ -102,7 +102,7 @@ class PMA_SetupIndex_Test extends PHPUnit_Framework_TestCase
|
||||
)
|
||||
);
|
||||
|
||||
messages_end();
|
||||
PMA_messagesEnd();
|
||||
|
||||
$this->assertEquals(
|
||||
array(
|
||||
|
||||
Loading…
Reference in New Issue
Block a user