From c481ddc8f0285a0e27a3eb66f0b4e16f1da4d058 Mon Sep 17 00:00:00 2001 From: dsainty Date: Mon, 17 Jun 2024 19:43:09 +1000 Subject: [PATCH] goss-cleanup 20240601 --- goss-cleanup.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/goss-cleanup.rb b/goss-cleanup.rb index 09f03a6..ff934b7 100644 --- a/goss-cleanup.rb +++ b/goss-cleanup.rb @@ -3,7 +3,6 @@ require File.expand_path("../../../config/environment", __FILE__) class GossamerForumsCleaner def perform_cleanup puts "Cleaning up imported users..." - # Find all users imported from Gossamer Forums and delete them UserCustomField.where(name: 'original_gossamer_id').each do |field| user = User.find_by(id: field.user_id) @@ -78,3 +77,4 @@ class GossamerForumsCleaner end GossamerForumsCleaner.new.perform_cleanup +