mirror of
https://gitlab2.federez.net/re2o/re2o
synced 2024-11-22 11:23:10 +00:00
Merge branch 'fix_memb_adh' of https://gitlab.federez.net/federez/re2o into fix_memb_adh
This commit is contained in:
commit
bf298492f3
1 changed files with 1 additions and 1 deletions
|
@ -939,7 +939,7 @@ class User(
|
||||||
# if any vente is found, activate the user
|
# if any vente is found, activate the user
|
||||||
if(not_null or not_zero or days_not_null or days_not_zero \
|
if(not_null or not_zero or days_not_null or days_not_zero \
|
||||||
or OptionalUser.get_cached_value("all_users_active")):
|
or OptionalUser.get_cached_value("all_users_active")):
|
||||||
self.state = self.STATE_ACTIVE
|
self.state = self.STATE_ACTIVE
|
||||||
self.save()
|
self.save()
|
||||||
if self.state == self.STATE_ARCHIVE or self.state == self.STATE_FULL_ARCHIVE:
|
if self.state == self.STATE_ARCHIVE or self.state == self.STATE_FULL_ARCHIVE:
|
||||||
self.state = self.STATE_ACTIVE
|
self.state = self.STATE_ACTIVE
|
||||||
|
|
Loading…
Reference in a new issue