Permalink
Browse files

disable check for approved bulk update requests

  • Loading branch information...
r888888888 committed Nov 13, 2017
1 parent 63ca4cb commit 0cda1a3dcc9bdfa46b57e041c558c65c5af80574
Showing with 0 additions and 6 deletions.
  1. +0 −6 app/helpers/bulk_update_requests_helper.rb
@@ -15,15 +15,9 @@ def approved?(command, antecedent, consequent)
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)

0 comments on commit 0cda1a3

Please sign in to comment.