Simplification

This commit is contained in:
M66B 2021-09-05 07:42:17 +02:00
parent 8744efd7d5
commit 0f63ac9d96
1 changed files with 2 additions and 2 deletions

View File

@ -452,7 +452,7 @@ public class EntityOperation {
DB db = DB.getInstance(context); DB db = DB.getInstance(context);
boolean force = false; boolean force = false;
List<EntityOperation> ops = db.operation().getOperationsByFolder(fid, EntityOperation.SYNC); List<EntityOperation> ops = db.operation().getOperationsByFolder(fid, SYNC);
if (ops != null) if (ops != null)
for (EntityOperation op : ops) for (EntityOperation op : ops)
if (EntityFolder.isSyncForced(op.args)) { if (EntityFolder.isSyncForced(op.args)) {
@ -460,7 +460,7 @@ public class EntityOperation {
break; break;
} }
db.operation().deleteOperation(fid, EntityOperation.SYNC); db.operation().deleteOperation(fid, SYNC);
sync(context, fid, false, force); sync(context, fid, false, force);
} }