Drop not used server_status.js

This file is not used anywhere and messages claimed to be used there are
not used as well.
This commit is contained in:
Michal Čihař 2013-04-16 13:13:15 +02:00
parent 7126e208b0
commit 4cb847ee6e
3 changed files with 2 additions and 35 deletions

View File

@ -1704,7 +1704,8 @@ function PMA_createProfilingChartJqplot(target, data)
}
/**
* Formats a profiling duration nicely (in us and ms time). Used in server_status.js
* Formats a profiling duration nicely (in us and ms time).
* Used in server_status_monitor.js
*
* @param integer Number to be formatted, should be in the range of microsecond to second
* @param integer Accuracy, how many numbers right to the comma should be

View File

@ -57,15 +57,6 @@ $js_messages['strReloadingPrivileges'] = __('Reloading Privileges');
$js_messages['strRemovingSelectedUsers'] = __('Removing Selected Users');
$js_messages['strClose'] = __('Close');
/* for server_status.js */
$js_messages['strEdit'] = __('Edit');
$js_messages['strLiveTrafficChart'] = __('Live traffic chart');
$js_messages['strLiveConnChart'] = __('Live conn./process chart');
$js_messages['strLiveQueryChart'] = __('Live query chart');
$js_messages['strStaticData'] = __('Static data');
/* l10n: Total number of queries */
$js_messages['strTotal'] = __('Total');
/* l10n: Other, small valued, queries */
$js_messages['strOther'] = __('Other');
/* l10n: Thousands separator */

View File

@ -1,25 +0,0 @@
/* vim: set expandtab sw=4 ts=4 sts=4: */
/**
* @fileoverview functions used in server status pages
* @name Server Status
*/
var pma_token,
url_query,
server_time_diff,
server_os,
is_superuser,
server_db_isLocal;
// Add a tablesorter parser to properly handle thousands seperated numbers and SI prefixes
AJAX.registerOnload('server_status.js', function () {
var $js_data_form = $('#js_data');
pma_token = $js_data_form.find("input[name=pma_token]").val();
url_query = $js_data_form.find("input[name=url_query]").val();
server_time_diff = eval($js_data_form.find("input[name=server_time_diff]").val());
server_os = $js_data_form.find("input[name=server_os]").val();
is_superuser = $js_data_form.find("input[name=is_superuser]").val();
server_db_isLocal = $js_data_form.find("input[name=server_db_isLocal]").val();
});