mirror of
https://github.com/jwinterm/modoboa.git
synced 2026-10-20 06:08:35 +02:00
* It is now possible to remove all external addresses from an alias
* Fixed bad SQL queries in the documentation (those used to find aliases) see #143
This commit is contained in:
@@ -271,6 +271,8 @@ class Alias(DatesAware):
|
||||
def save(self, int_targets, ext_targets, *args, **kwargs):
|
||||
if len(ext_targets):
|
||||
self.extmboxes = ",".join(ext_targets)
|
||||
else:
|
||||
self.extmboxes = ""
|
||||
super(Alias, self).save(*args, **kwargs)
|
||||
curmboxes = self.mboxes.all()
|
||||
for t in int_targets:
|
||||
|
||||
Reference in New Issue
Block a user