#41: Don't update deleted user quota in batch

This commit is contained in:
jendib 2015-11-30 00:28:51 +01:00
parent e36143b61c
commit bc323e9945

View File

@ -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()