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:
@@ -52,7 +52,7 @@
|
||||
$switch_cmd = 'show channels as json';
|
||||
|
||||
//create the event socket connection
|
||||
$fp = event_socket_create($_SESSION['event_socket_ip_address'], $_SESSION['event_socket_port'], $_SESSION['event_socket_password']);
|
||||
$fp = event_socket_create();
|
||||
|
||||
//send the event socket command and get the array
|
||||
if ($fp) {
|
||||
|
||||
@@ -74,7 +74,7 @@
|
||||
if (is_array($calls) && @sizeof($calls) != 0) {
|
||||
|
||||
//setup the event socket connection
|
||||
$fp = event_socket_create($_SESSION['event_socket_ip_address'], $_SESSION['event_socket_port'], $_SESSION['event_socket_password']);
|
||||
$fp = event_socket_create();
|
||||
|
||||
//execute hangup command
|
||||
foreach ($calls as $call_uuid) {
|
||||
|
||||
Reference in New Issue
Block a user