flags: remove the rule that you can't flag in your first week.

This commit is contained in:
evazion
2020-08-06 20:56:11 -05:00
parent 0a0a85ee70
commit 797d8ed617

View File

@@ -103,8 +103,6 @@ class PostFlag < ApplicationRecord
if creator.can_approve_posts?
# do nothing
elsif creator.created_at > 1.week.ago
errors[:creator] << "cannot flag within the first week of sign up"
elsif creator.is_gold? && flag_count_for_creator >= 10
errors[:creator] << "can flag 10 posts a day"
elsif !creator.is_gold? && flag_count_for_creator >= 1