VMM/handler: Handler.alias_delete() also use class DestinationEmailAddress
for the destination address, instead of class EmailAddress.
--- a/VirtualMailManager/handler.py Sat Sep 03 20:28:40 2011 +0000
+++ b/VirtualMailManager/handler.py Sat Sep 03 20:42:05 2011 +0000
@@ -642,7 +642,8 @@
if targetaddress is None:
alias.delete()
else:
- alias.del_destination(EmailAddress(targetaddress))
+ alias.del_destination(DestinationEmailAddress(targetaddress,
+ self._dbh))
def user_info(self, emailaddress, details=None):
"""Wrapper around Account.get_info(...)"""