Removed redundant parameter
This commit is contained in:
parent
1b34379da9
commit
0f317d4b56
@ -26,8 +26,8 @@ class PMA_ServerStatusData {
|
||||
// Discard everything
|
||||
}
|
||||
|
||||
public function __construct($selfUrl) {
|
||||
$this->selfUrl = $selfUrl;
|
||||
public function __construct() {
|
||||
$this->selfUrl = basename($GLOBALS['PMA_PHP_SELF']);
|
||||
/**
|
||||
* get status from server
|
||||
*/
|
||||
|
||||
@ -21,7 +21,7 @@ if (PMA_DRIZZLE) {
|
||||
include_once 'libraries/replication_gui.lib.php';
|
||||
}
|
||||
|
||||
$ServerStatusData = new PMA_ServerStatusData('server_status.php');
|
||||
$ServerStatusData = new PMA_ServerStatusData();
|
||||
|
||||
/**
|
||||
* Kills a selected process
|
||||
|
||||
@ -425,7 +425,7 @@ $scripts->addFile('server_status_sorter.js');
|
||||
/**
|
||||
* start output
|
||||
*/
|
||||
$ServerStatusData = new PMA_ServerStatusData('server_status_monitor.php');
|
||||
$ServerStatusData = new PMA_ServerStatusData();
|
||||
|
||||
/**
|
||||
* Define some data needed on the client side
|
||||
|
||||
@ -16,7 +16,7 @@ if (PMA_DRIZZLE) {
|
||||
include_once 'libraries/replication_gui.lib.php';
|
||||
}
|
||||
|
||||
$ServerStatusData = new PMA_ServerStatusData('server_status_queries.php');
|
||||
$ServerStatusData = new PMA_ServerStatusData();
|
||||
|
||||
$response = PMA_Response::getInstance();
|
||||
$header = $response->getHeader();
|
||||
|
||||
@ -32,7 +32,7 @@ if (isset($_REQUEST['flush'])) {
|
||||
unset($_flush_commands);
|
||||
}
|
||||
|
||||
$ServerStatusData = new PMA_ServerStatusData('server_status_variables.php');
|
||||
$ServerStatusData = new PMA_ServerStatusData();
|
||||
|
||||
$response = PMA_Response::getInstance();
|
||||
$header = $response->getHeader();
|
||||
|
||||
Loading…
Reference in New Issue
Block a user