From 79fe43ee241b9d2209bedf2bedea995be69219fd Mon Sep 17 00:00:00 2001 From: ccd0 Date: Sun, 24 Dec 2017 23:58:38 -0800 Subject: [PATCH] Turn off DataBoard auto-cleaning on other sites until correctly implemented. --- src/classes/DataBoard.coffee | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/classes/DataBoard.coffee b/src/classes/DataBoard.coffee index 26aa24414..7429a370e 100644 --- a/src/classes/DataBoard.coffee +++ b/src/classes/DataBoard.coffee @@ -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}