Update app_defaults.php

This commit is contained in:
FusionPBX 2019-11-10 09:45:54 -07:00 committed by GitHub
parent 5232c2bf0a
commit 2d7516494d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 0 additions and 10 deletions

View File

@ -62,16 +62,6 @@
}
}
//connect to event socket and reload mod translate
$fp = event_socket_create($_SESSION['event_socket_ip_address'], $_SESSION['event_socket_port'], $_SESSION['event_socket_password']);
if ($fp) {
event_socket_request($fp, 'api reloadxml');
event_socket_request($fp, 'api reload mod_translate');
}
elseif ($display_type == 'text') {
echo "Failed to connect to event socket";
}
unset($fp);
}
?>