8
0
Fork 0
mirror of https://gitlab2.federez.net/re2o/re2o synced 2024-12-22 23:13:46 +00:00

Merge branch 'fix_memb_adh' of https://gitlab.federez.net/federez/re2o into fix_memb_adh

This commit is contained in:
grisel-davy 2020-10-15 19:24:54 +02:00
commit bf298492f3

View file

@ -939,7 +939,7 @@ class User(
# if any vente is found, activate the user
if(not_null or not_zero or days_not_null or days_not_zero \
or OptionalUser.get_cached_value("all_users_active")):
self.state = self.STATE_ACTIVE
self.state = self.STATE_ACTIVE
self.save()
if self.state == self.STATE_ARCHIVE or self.state == self.STATE_FULL_ARCHIVE:
self.state = self.STATE_ACTIVE