Skip to content

Commit

Permalink
Do not write the removed folder on the DB
Browse files Browse the repository at this point in the history
Should fix #1329
  • Loading branch information
ogoffart committed Jan 8, 2014
1 parent 8b9a8eb commit 4006e49
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/mirall/owncloudpropagator.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1114,7 +1114,7 @@ void PropagateDirectory::proceedNext(SyncFileItem::Status status)
_item._file = _item._renameTarget;
}

if (_item._should_update_etag) {
if (_item._should_update_etag && _item._instruction != CSYNC_INSTRUCTION_REMOVE) {
SyncJournalFileRecord record(_item, _propagator->_localDir + _item._file);
_propagator->_journal->setFileRecord(record);
}
Expand Down

0 comments on commit 4006e49

Please sign in to comment.