Revert "lib/model: Emit LocalDiskUpdated events on detecting local changes"

This reverts commit 5a7fad0bcd.
This commit is contained in:
Jakob Borg
2016-05-14 10:55:24 +02:00
parent 5a7fad0bcd
commit 6f743f3138
7 changed files with 15 additions and 85 deletions

View File

@@ -1398,9 +1398,7 @@ func (f *rwFolder) dbUpdaterRoutine() {
lastFile = job.file
}
// All updates to file/folder objects that originated remotely
// (across the network) use this call to updateLocals
f.model.updateLocalsFromScanning(f.folderID, files)
f.model.updateLocals(f.folderID, files)
if found {
f.model.receivedFile(f.folderID, lastFile)