Remove some redundant uses of $.forceSync.

This commit is contained in:
ccd0 2017-09-28 14:33:12 -07:00
parent 7da5f13497
commit 463db9f9c9
2 changed files with 0 additions and 2 deletions

View File

@ -190,7 +190,6 @@ Unread =
Unread.lastReadPost = ID
Unread.readCount++
return if Unread.thread.isDead and !Unread.thread.isArchived
Unread.db.forceSync()
Unread.db.set
boardID: Unread.thread.board.ID
threadID: Unread.thread.ID

View File

@ -30,7 +30,6 @@ class DataBoard
@save()
deleteIfEmpty: ({boardID, threadID}) ->
$.forceSync @key
if threadID
unless Object.keys(@data.boards[boardID][threadID]).length
delete @data.boards[boardID][threadID]