Remove ThreadWatcher conversion from old format.
This commit is contained in:
parent
15a51d2344
commit
3a13d0429c
@ -19,14 +19,6 @@ ThreadWatcher =
|
|||||||
ThreadWatcher.fetchAllStatus()
|
ThreadWatcher.fetchAllStatus()
|
||||||
@db.save()
|
@db.save()
|
||||||
|
|
||||||
# XXX tmp conversion from old to new format
|
|
||||||
$.get 'WatchedThreads', null, ({WatchedThreads}) ->
|
|
||||||
return unless WatchedThreads
|
|
||||||
for boardID, threads of ThreadWatcher.convert WatchedThreads
|
|
||||||
for threadID, data of threads
|
|
||||||
ThreadWatcher.db.set {boardID, threadID, val: data}
|
|
||||||
$.delete 'WatchedThreads'
|
|
||||||
|
|
||||||
Thread::callbacks.push
|
Thread::callbacks.push
|
||||||
name: 'Thread Watcher'
|
name: 'Thread Watcher'
|
||||||
cb: @node
|
cb: @node
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user