On retire aussi les champs rewriteMailHeaders et contourneGreylist lors
de la destruction de compte. darcs-hash:20060406023745-68412-29b8b21bf675ecc47fef440304d3ec34745575fe.gz
This commit is contained in:
parent
695ffe6d78
commit
8d76992b10
1 changed files with 6 additions and 2 deletions
|
@ -1790,7 +1790,11 @@ class Adherent(base_proprietaire):
|
|||
self._set('mail', [''])
|
||||
self._data['objectClass'] = ['adherent']
|
||||
|
||||
for c in [ 'uid', 'cn', 'shadowLastChange', 'shadowMax', 'shadowWarning', 'loginShell', 'userPassword', 'uidNumber', 'gidNumber', 'homeDirectory', 'gecos', 'droits', 'mailAlias', 'canonicalAlias' ]:
|
||||
for c in [ 'uid', 'cn', 'shadowLastChange', 'shadowMax',
|
||||
'shadowWarning', 'loginShell', 'userPassword',
|
||||
'uidNumber', 'gidNumber', 'homeDirectory', 'gecos',
|
||||
'droits', 'mailAlias', 'canonicalAlias',
|
||||
'rewriteMailHeaders', 'contourneGreylist' ]:
|
||||
try: self._data.pop(c)
|
||||
except: pass
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue