From 72ad701df0663d6a131531faf506d5424e3ebfb6 Mon Sep 17 00:00:00 2001 From: David Taylor Date: Wed, 6 May 2020 11:58:35 +0100 Subject: [PATCH] DEV: Stub #flush in StdOutDemux for multisite:migrate https://meta.discourse.org/t/multisite-migrate-error/150579/2 --- lib/tasks/db.rake | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/lib/tasks/db.rake b/lib/tasks/db.rake index 81087473a0e..5a6c67c9186 100644 --- a/lib/tasks/db.rake +++ b/lib/tasks/db.rake @@ -91,6 +91,10 @@ class StdOutDemux @data.delete Thread.current end end + + def flush + # Do nothing + end end task 'multisite:migrate' => ['db:load_config', 'environment', 'set_locale'] do |_, args|