[Web] Fix deletion of domain, fixes #1818
parent
2af2f7836d
commit
668a0927ac
|
@ -3065,7 +3065,6 @@ function mailbox($_action, $_type, $_data = null, $_extra = null) {
|
||||||
'msg' => 'Could not move maildir to garbage collector: ' . $maildir_gc['msg']
|
'msg' => 'Could not move maildir to garbage collector: ' . $maildir_gc['msg']
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
return false;
|
|
||||||
$stmt = $pdo->prepare("DELETE FROM `domain` WHERE `domain` = :domain");
|
$stmt = $pdo->prepare("DELETE FROM `domain` WHERE `domain` = :domain");
|
||||||
$stmt->execute(array(
|
$stmt->execute(array(
|
||||||
':domain' => $domain,
|
':domain' => $domain,
|
||||||
|
|
Loading…
Reference in New Issue