rm tmp conversion of hiddenThreads.
This commit is contained in:
parent
a4b9c303ab
commit
10ee666e7d
@ -12,15 +12,6 @@ PostHiding =
|
|||||||
name: 'Post Hiding'
|
name: 'Post Hiding'
|
||||||
cb: @node
|
cb: @node
|
||||||
|
|
||||||
# XXX tmp conversion
|
|
||||||
$.get 'hiddenThreads', null, ({hiddenThreads}) ->
|
|
||||||
return unless hiddenThreads
|
|
||||||
for boardID, board of hiddenThreads.boards
|
|
||||||
for threadID, val of board
|
|
||||||
((PostHiding.db.data.boards[boardID] or= {})[threadID] or= {})[threadID] = val
|
|
||||||
PostHiding.db.save()
|
|
||||||
$.delete 'hiddenThreads'
|
|
||||||
|
|
||||||
node: ->
|
node: ->
|
||||||
return if !@isReply and g.VIEW isnt 'index' or @isClone
|
return if !@isReply and g.VIEW isnt 'index' or @isClone
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user