Remove Form::StatusBatch::ACTION_TYPE unused (#9623)
parent
fd16502ae4
commit
6641a1cac9
|
@ -6,8 +6,6 @@ class Form::StatusBatch
|
||||||
|
|
||||||
attr_accessor :status_ids, :action, :current_account
|
attr_accessor :status_ids, :action, :current_account
|
||||||
|
|
||||||
ACTION_TYPE = %w(nsfw_on nsfw_off delete).freeze
|
|
||||||
|
|
||||||
def save
|
def save
|
||||||
case action
|
case action
|
||||||
when 'nsfw_on', 'nsfw_off'
|
when 'nsfw_on', 'nsfw_off'
|
||||||
|
|
Loading…
Reference in New Issue