mirror of
https://github.com/fusionpbx/fusionpbx.git
synced 2026-02-22 10:56:31 +00:00
Fix. Clear memcache after edit ACL.
This commit is contained in:
@@ -85,6 +85,7 @@ if (count($_POST)>0 && strlen($_POST["persistformvar"]) == 0) {
|
||||
$db->exec(check_sql($sql));
|
||||
unset($sql);
|
||||
|
||||
remove_config_from_cache('configuration:acl.conf');
|
||||
$_SESSION['message'] = $text['message-add'];
|
||||
header('Location: access_control_edit.php?id='.$access_control_uuid);
|
||||
return;
|
||||
@@ -102,6 +103,7 @@ if (count($_POST)>0 && strlen($_POST["persistformvar"]) == 0) {
|
||||
$db->exec(check_sql($sql));
|
||||
unset($sql);
|
||||
|
||||
remove_config_from_cache('configuration:acl.conf');
|
||||
$_SESSION['message'] = $text['message-update'];
|
||||
header('Location: access_control_edit.php?id='.$access_control_uuid);
|
||||
return;
|
||||
|
||||
Reference in New Issue
Block a user