VirtualMailManager/Alias.py
changeset 146 a08d78344706
parent 144 4c6aa6c29dd7
child 147 e3fd0b67ae50
--- a/VirtualMailManager/Alias.py	Mon Sep 07 04:40:33 2009 +0000
+++ b/VirtualMailManager/Alias.py	Mon Sep 07 21:40:36 2009 +0000
@@ -33,11 +33,11 @@
         self._setAddr()
         if not self._dest is None:
             self._exists()
-        if self._isNew and VMM.VirtualMailManager.accountExists(self._dbh,
+        if VMM.VirtualMailManager.accountExists(self._dbh,
                 self._addr):
             raise VMMAE(_(u"There is already an account with address ā€œ%sā€.") %\
                     self._addr, ERR.ACCOUNT_EXISTS)
-        if self._isNew and VMM.VirtualMailManager.relocatedExists(self._dbh,
+        if VMM.VirtualMailManager.relocatedExists(self._dbh,
                 self._addr):
             raise VMMAE(
               _(u"There is already a relocated user with the address ā€œ%sā€.") %\