1
0
mirror of https://github.com/whippyshou/mastodon synced 2024-11-25 15:46:35 +09:00

Remove Form::StatusBatch::ACTION_TYPE unused (#9623)

This commit is contained in:
ysksn 2018-12-26 02:29:51 +09:00 committed by Eugen Rochko
parent fd16502ae4
commit 6641a1cac9

View File

@ -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'