From 0cda1a3dcc9bdfa46b57e041c558c65c5af80574 Mon Sep 17 00:00:00 2001 From: r888888888 Date: Mon, 13 Nov 2017 14:39:36 -0800 Subject: [PATCH] disable check for approved bulk update requests --- app/helpers/bulk_update_requests_helper.rb | 6 ------ 1 file changed, 6 deletions(-) diff --git a/app/helpers/bulk_update_requests_helper.rb b/app/helpers/bulk_update_requests_helper.rb index 3ccb8d8eb..7dde42837 100644 --- a/app/helpers/bulk_update_requests_helper.rb +++ b/app/helpers/bulk_update_requests_helper.rb @@ -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)