mirror of
https://github.com/sismics/docs.git
synced 2024-11-25 15:17:57 +01:00
#41: Don't update deleted user quota in batch
This commit is contained in:
parent
e36143b61c
commit
bc323e9945
@ -228,7 +228,9 @@ public class AppResource extends BaseResource {
|
||||
|
||||
// Save all users
|
||||
for (User user : userMap.values()) {
|
||||
userDao.update(user);
|
||||
if (user.getDeleteDate() == null) {
|
||||
userDao.update(user);
|
||||
}
|
||||
}
|
||||
|
||||
// Always return OK
|
||||
|
Loading…
Reference in New Issue
Block a user