Remove ThreadWatcher conversion from old format.

This commit is contained in:
Mayhem 2013-09-19 15:02:43 +02:00
parent 15a51d2344
commit 3a13d0429c

View File

@ -19,14 +19,6 @@ ThreadWatcher =
ThreadWatcher.fetchAllStatus()
@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
name: 'Thread Watcher'
cb: @node