projects
/
misc
/
hallinta-vmail
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
726707e
)
Improve deletion of aliases and propagated message
master
author
Joey Schulze
<joey@infodrom.org>
Sat, 7 Oct 2023 22:30:27 +0000
(
00:30
+0200)
committer
Joey Schulze
<joey@infodrom.org>
Sat, 7 Oct 2023 22:30:27 +0000
(
00:30
+0200)
class/vmail_alias.class.php
patch
|
blob
|
history
diff --git
a/class/vmail_alias.class.php
b/class/vmail_alias.class.php
index
8704810
..
38abdf2
100644
(file)
--- a/
class/vmail_alias.class.php
+++ b/
class/vmail_alias.class.php
@@
-112,8
+112,9
@@
class VMail_Alias extends DatabaseTable {
public function ajaxDeleteAlias(Array $data)
{
public function ajaxDeleteAlias(Array $data)
{
- $report = $this->deleteAlias(false);
+ $domain = new VMail_Domain($this->data->vmail_domain_id);
+ $report = $this->deleteAlias(true);
- return ['text' => sprintf("Alias %s
gelöscht", $this->data->username
)];
+ return ['text' => sprintf("Alias %s
@%s gelöscht", $this->data->username, $domain->get('name')
)];
}
}
}
}