disable check for approved bulk update requests

This commit is contained in:
r888888888
2017-11-13 14:39:36 -08:00
parent 63ca4cb24f
commit 0cda1a3dcc

View File

@@ -15,15 +15,9 @@ module BulkUpdateRequestsHelper
when :remove_implication
TagImplication.where(antecedent_name: antecedent, consequent_name: consequent, status: "deleted").exists? || !TagImplication.where(antecedent_name: antecedent, consequent_name: consequent).exists?
when :mass_update
!Post.raw_tag_match(antecedent).exists?
else
false
end
rescue ActiveRecord::StatementInvalid
false
end
def failed?(command, antecedent, consequent)