From 6641a1cac90e65db2c4371306d6b4e3785d69857 Mon Sep 17 00:00:00 2001 From: ysksn Date: Wed, 26 Dec 2018 02:29:51 +0900 Subject: [PATCH] Remove Form::StatusBatch::ACTION_TYPE unused (#9623) --- app/models/form/status_batch.rb | 2 -- 1 file changed, 2 deletions(-) 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'