Turn off DataBoard auto-cleaning on other sites until correctly implemented.
This commit is contained in:
parent
4c1518c1a4
commit
79fe43ee24
@ -109,6 +109,9 @@ class DataBoard
|
|||||||
val or defaultValue
|
val or defaultValue
|
||||||
|
|
||||||
clean: ->
|
clean: ->
|
||||||
|
# XXX not yet multisite ready
|
||||||
|
return unless Site.software is 'yotsuba'
|
||||||
|
|
||||||
for boardID, val of @data.boards
|
for boardID, val of @data.boards
|
||||||
@deleteIfEmpty {boardID}
|
@deleteIfEmpty {boardID}
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user