From: ysksn Date: Tue, 25 Dec 2018 17:29:51 +0000 (+0900) Subject: Remove Form::StatusBatch::ACTION_TYPE unused (#9623) X-Git-Url: https://git.xn--scling-oua.cat.family/?a=commitdiff_plain;h=6641a1cac90e65db2c4371306d6b4e3785d69857;p=mastodon.git Remove Form::StatusBatch::ACTION_TYPE unused (#9623) --- diff --git a/app/models/form/status_batch.rb b/app/models/form/status_batch.rb index 8f5fd1fa2..898728067 100644 --- a/app/models/form/status_batch.rb +++ b/app/models/form/status_batch.rb @@ -6,8 +6,6 @@ class Form::StatusBatch attr_accessor :status_ids, :action, :current_account - ACTION_TYPE = %w(nsfw_on nsfw_off delete).freeze - def save case action when 'nsfw_on', 'nsfw_off'