Confirm update of catch-all configuration

This commit is contained in:
Axel ROGER 2012-11-07 10:56:49 +00:00
parent b25c7c6963
commit de31c8066f
1 changed files with 3 additions and 0 deletions

View File

@ -45,12 +45,15 @@ if (!is_null($target_type)) {
switch ($target_type) {
case "none":
$mail->catchall_del($domain_id);
$error = _("Catchall successfully updated");
break;
case "domain":
$mail->catchall_set($domain_id, $target_domain);
$error = _("Catchall successfully updated");
break;
case "mail":
$mail->catchall_set($domain_id, $target_mail);
$error = _("Catchall successfully updated");
break;
default:
$error=_("Unknown target type");