mirror of
https://github.com/fusionpbx/fusionpbx.git
synced 2025-12-30 00:53:50 +00:00
Misc: Remove parameters from event_socket_create() calls.
This commit is contained in:
@@ -86,7 +86,7 @@ if (!class_exists('basic_operator_panel')) {
|
||||
}
|
||||
|
||||
//send the command
|
||||
$fp = event_socket_create($_SESSION['event_socket_ip_address'], $_SESSION['event_socket_port'], $_SESSION['event_socket_password']);
|
||||
$fp = event_socket_create();
|
||||
if ($fp) {
|
||||
$switch_result = event_socket_request($fp, 'api show channels as json');
|
||||
$json_array = json_decode($switch_result, true);
|
||||
|
||||
@@ -64,7 +64,7 @@ if (!empty($groups)) {
|
||||
}
|
||||
|
||||
//get the valet info
|
||||
$fp = event_socket_create($_SESSION['event_socket_ip_address'], $_SESSION['event_socket_port'], $_SESSION['event_socket_password']);
|
||||
$fp = event_socket_create();
|
||||
if ($fp) {
|
||||
$valet_info = event_socket_request($fp, 'api valet_info park@'.$_SESSION['domain_name']);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user