Revert part of 5d0fcf0 -- user objects may not always have a uuid. Deal with this later

pull/14/head
Sam Bosley 12 years ago
parent 1a740d32ab
commit 5ae0e866b9

@ -21,7 +21,6 @@ import com.todoroo.astrid.data.RemoteModel;
import com.todoroo.astrid.data.TagData;
import com.todoroo.astrid.data.Task;
import com.todoroo.astrid.data.Update;
import com.todoroo.astrid.data.User;
import com.todoroo.astrid.helper.UUIDHelper;
import com.todoroo.astrid.service.MetadataService;
import com.todoroo.astrid.service.TagDataService;
@ -94,10 +93,6 @@ public class AstridNewSyncMigrator {
}
});
userDao.deleteWhere(Criterion.or(User.REMOTE_ID.isNull(), User.REMOTE_ID.eq(0)));
Query usersQuery = Query.select(User.ID, User.REMOTE_ID).where(Criterion.all);
assertUUIDsExist(usersQuery, new User(), userDao, null);
// --------------
// Finally, ensure that all tag metadata entities have all important fields filled in

Loading…
Cancel
Save