remove references to tag subscriptions

This commit is contained in:
r888888888
2017-11-17 13:45:17 -08:00
parent 09234dca4f
commit e70c2a3085
17 changed files with 1 additions and 200 deletions

View File

@@ -216,15 +216,3 @@ if ForumTopic.count == 0
end
end
end
if TagSubscription.count == 0
puts "Creating tag subscriptions"
TagSubscription.create(:name => "0", :tag_query => Tag.order("random()").first.name)
1.upto(50) do |i|
CurrentUser.user = User.order("random()").first
TagSubscription.create(:name => i.to_s, :tag_query => Tag.order("random()").first.name)
end
else
puts "Skipping tag subscriptions"
end