Update access_control_node_delete.php
This commit is contained in:
@@ -36,9 +36,13 @@
|
|||||||
//clear the cache
|
//clear the cache
|
||||||
$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"); }
|
||||||
}
|
}
|
||||||
|
|
||||||
//redirect the user
|
//redirect the browser
|
||||||
messages::add($text['message-delete']);
|
messages::add($text['message-delete']);
|
||||||
header('Location: access_control_edit.php?id='.$access_control_uuid);
|
header('Location: access_control_edit.php?id='.$access_control_uuid);
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user