#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,7 +228,9 @@ public class AppResource extends BaseResource {
// Save all users // Save all users
for (User user : userMap.values()) { for (User user : userMap.values()) {
userDao.update(user); if (user.getDeleteDate() == null) {
userDao.update(user);
}
} }
// Always return OK // Always return OK