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,8 +228,10 @@ public class AppResource extends BaseResource {
|
|||||||
|
|
||||||
// Save all users
|
// Save all users
|
||||||
for (User user : userMap.values()) {
|
for (User user : userMap.values()) {
|
||||||
|
if (user.getDeleteDate() == null) {
|
||||||
userDao.update(user);
|
userDao.update(user);
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
// Always return OK
|
// Always return OK
|
||||||
JsonObjectBuilder response = Json.createObjectBuilder()
|
JsonObjectBuilder response = Json.createObjectBuilder()
|
||||||
|
Loading…
Reference in New Issue
Block a user