mirror of
https://framagit.org/tykayn/mastodon.git
synced 2023-08-25 08:33:12 +02:00
Remove Form::StatusBatch::ACTION_TYPE unused (#9623)
This commit is contained in:
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
Block a user