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:
authorxmujay <xmujay@gmail.com>2013-06-17 17:43:13 +0400
committerxmujay <xmujay@gmail.com>2013-06-17 17:43:13 +0400
commite3a824cc7b8b4392bb59e3054bf4e6ab228d3d8c (patch)
treea4c7f5778152c1f44c93694d588ad2fa4ddd76d1 /server_status_monitor.php
parent8c000b4feee5009232c4b5a9dc6688aff16ad3db (diff)
1. using a better function name 2. fix code style issue 3. add doc for functions
Diffstat (limited to 'server_status_monitor.php')
-rw-r--r--server_status_monitor.php10
1 files changed, 5 insertions, 5 deletions
diff --git a/server_status_monitor.php b/server_status_monitor.php
index 7b0bc51236..d8fd149cd7 100644
--- a/server_status_monitor.php
+++ b/server_status_monitor.php
@@ -29,7 +29,7 @@ if (isset($_REQUEST['ajax_request']) && $_REQUEST['ajax_request'] == true) {
if (isset($_REQUEST['chart_data'])) {
switch($_REQUEST['type']) {
case 'chartgrid': // Data for the monitor
- $ret = PMA_getJSonForChartingData();
+ $ret = PMA_getJsonForChartingData();
PMA_Response::getInstance()->addJSON('message', $ret);
exit;
}
@@ -45,26 +45,26 @@ if (isset($_REQUEST['ajax_request']) && $_REQUEST['ajax_request'] == true) {
$end = intval($_REQUEST['time_end']);
if ($_REQUEST['type'] == 'slow') {
- $return = PMA_getJSonForLogDataTypeSlow($start, $end);
+ $return = PMA_getJsonForLogDataTypeSlow($start, $end);
PMA_Response::getInstance()->addJSON('message', $return);
exit;
}
if ($_REQUEST['type'] == 'general') {
- $return = PMA_getJSonForLogDataTypeGeneral($start, $end);
+ $return = PMA_getJsonForLogDataTypeGeneral($start, $end);
PMA_Response::getInstance()->addJSON('message', $return);
exit;
}
}
if (isset($_REQUEST['logging_vars'])) {
- $loggingVars = PMA_getJSonForLoggingVars();
+ $loggingVars = PMA_getJsonForLoggingVars();
PMA_Response::getInstance()->addJSON('message', $loggingVars);
exit;
}
if (isset($_REQUEST['query_analyzer'])) {
- $return = PMA_getJSonForQueryAnalyzer();
+ $return = PMA_getJsonForQueryAnalyzer();
PMA_Response::getInstance()->addJSON('message', $return);
exit;
}