gearheads
/
mastodon
Archived
2
0
Fork 0

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

gh/stable
ysksn 2018-12-26 02:29:51 +09:00 committed by Eugen Rochko
parent fd16502ae4
commit 6641a1cac9
1 changed files with 0 additions and 2 deletions

View File

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