diff --git a/src/libsync/lockfilejobs.cpp b/src/libsync/lockfilejobs.cpp index 4bae184ec1609..77f01c3ba034b 100644 --- a/src/libsync/lockfilejobs.cpp +++ b/src/libsync/lockfilejobs.cpp @@ -165,10 +165,6 @@ SyncJournalFileRecord LockFileJob::handleReply() if (_lockTime <= 0) { return record; } - - if (_lockTimeout <= 0) { - return record; - } } const auto relativePathInDb = path().mid(_remoteSyncPathWithTrailingSlash.size());