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 +