Fixed a bug in user sync

pull/14/head
Sam Bosley 13 years ago
parent b0ac54ef30
commit 7fbfe181b5

@ -744,7 +744,7 @@ public final class ActFmSyncService {
if (serverTime == 0) {
Long[] allIds = ids.toArray(new Long[ids.size()]);
actFmDataService.userDao.deleteWhere(Criterion.not(User.ID.in(allIds)));
actFmDataService.userDao.deleteWhere(Criterion.not(User.REMOTE_ID.in(allIds)));
}
return result.optInt("time", 0);

Loading…
Cancel
Save