Turn off DataBoard auto-cleaning on other sites until correctly implemented.

This commit is contained in:
ccd0 2017-12-24 23:58:38 -08:00
parent 4c1518c1a4
commit 79fe43ee24

View File

@ -109,6 +109,9 @@ class DataBoard
val or defaultValue
clean: ->
# XXX not yet multisite ready
return unless Site.software is 'yotsuba'
for boardID, val of @data.boards
@deleteIfEmpty {boardID}