[Web] Delete from sender_acl when deleting an alias
This commit is contained in:
parent
6fffda5def
commit
2508ee5b69
@ -3434,6 +3434,10 @@ function mailbox($_action, $_type, $_data = null, $_extra = null) {
|
|||||||
$stmt->execute(array(
|
$stmt->execute(array(
|
||||||
':id' => $id
|
':id' => $id
|
||||||
));
|
));
|
||||||
|
$stmt = $pdo->prepare("DELETE FROM `sender_acl` WHERE `send_as` = :alias_address");
|
||||||
|
$stmt->execute(array(
|
||||||
|
':alias_address' => $alias_data['address']
|
||||||
|
));
|
||||||
$_SESSION['return'][] = array(
|
$_SESSION['return'][] = array(
|
||||||
'type' => 'success',
|
'type' => 'success',
|
||||||
'log' => array(__FUNCTION__, $_action, $_type, $_data_log, $_attr),
|
'log' => array(__FUNCTION__, $_action, $_type, $_data_log, $_attr),
|
||||||
|
Loading…
Reference in New Issue
Block a user