Commit 3a246ec9 by E. Kolpakov

Removed duplicate lines

parent cb3a3780
...@@ -337,9 +337,6 @@ class UsersList(SecureListAPIView): ...@@ -337,9 +337,6 @@ class UsersList(SecureListAPIView):
if settings.FEATURES.get('ENABLE_DISCUSSION_EMAIL_DIGEST'): if settings.FEATURES.get('ENABLE_DISCUSSION_EMAIL_DIGEST'):
enable_notifications(user) enable_notifications(user)
if settings.FEATURES.get('ENABLE_DISCUSSION_EMAIL_DIGEST'):
enable_notifications(user)
# add this account creation to password history # add this account creation to password history
# NOTE, this will be a NOP unless the feature has been turned on in configuration # NOTE, this will be a NOP unless the feature has been turned on in configuration
password_history_entry = PasswordHistory() password_history_entry = PasswordHistory()
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment