mirror of
https://github.com/fusionpbx/fusionpbx.git
synced 2026-01-06 11:43:50 +00:00
Update access_control_node_edit.php
This commit is contained in:
@@ -95,6 +95,10 @@ if (count($_POST)>0 && strlen($_POST["persistformvar"]) == 0) {
|
|||||||
$cache = new cache;
|
$cache = new cache;
|
||||||
$cache->delete("configuration:acl.conf");
|
$cache->delete("configuration:acl.conf");
|
||||||
|
|
||||||
|
//create the event socket connection
|
||||||
|
$fp = event_socket_create($_SESSION['event_socket_ip_address'], $_SESSION['event_socket_port'], $_SESSION['event_socket_password']);
|
||||||
|
if ($fp) { event_socket_request($fp, "api reloadacl"); }
|
||||||
|
|
||||||
//add the message
|
//add the message
|
||||||
messages::add($text['message-add']);
|
messages::add($text['message-add']);
|
||||||
|
|
||||||
@@ -121,6 +125,10 @@ if (count($_POST)>0 && strlen($_POST["persistformvar"]) == 0) {
|
|||||||
$cache = new cache;
|
$cache = new cache;
|
||||||
$cache->delete("configuration:acl.conf");
|
$cache->delete("configuration:acl.conf");
|
||||||
|
|
||||||
|
//create the event socket connection
|
||||||
|
$fp = event_socket_create($_SESSION['event_socket_ip_address'], $_SESSION['event_socket_port'], $_SESSION['event_socket_password']);
|
||||||
|
if ($fp) { event_socket_request($fp, "api reloadacl"); }
|
||||||
|
|
||||||
//add the message
|
//add the message
|
||||||
messages::add($text['message-update']);
|
messages::add($text['message-update']);
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user