[lc_ldap] Ici aussi ctxt_check a été droppé.
This commit is contained in:
parent
8fd228f6bd
commit
182642d30e
1 changed files with 2 additions and 2 deletions
|
@ -696,7 +696,7 @@ class CransLdapObject(object):
|
|||
# blacklistes virtuelle si on est un adhérent pour carte étudiant et chambre invalides
|
||||
if self.__class__.__name__ == "adherent" and self.paiement_ok():
|
||||
if not config.periode_transitoire and config.bl_carte_et_actif and not self.carte_ok() and not self.sursis_carte():
|
||||
bl = attributs.blacklist(u'%s$%s$%s$%s' % ('-', '-', 'carte_etudiant', ''), {}, self.conn, False)
|
||||
bl = attributs.blacklist(u'%s$%s$%s$%s' % ('-', '-', 'carte_etudiant', ''), {}, self.conn)
|
||||
blacklist_liste.append(bl)
|
||||
if self['chbre'][0].value == '????':
|
||||
bl = attributs.blacklist(u'%s$%s$%s$%s' % ('-', '-', 'chambre_invalide', ''), {}, self.conn)
|
||||
|
@ -718,7 +718,7 @@ class CransLdapObject(object):
|
|||
debut = int(time.time())
|
||||
if fin == 'now':
|
||||
fin = int(time.time())
|
||||
bl = attributs.blacklist(u'%s$%s$%s$%s' % (debut, fin, sanction, commentaire), {}, self.conn, False)
|
||||
bl = attributs.blacklist(u'%s$%s$%s$%s' % (debut, fin, sanction, commentaire), {}, self.conn)
|
||||
|
||||
self._modifs.setdefault('blacklist', []).append(bl)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue