Skip to content

Commit

Permalink
Remove Form::StatusBatch::ACTION_TYPE unused (mastodon#9623)
Browse files Browse the repository at this point in the history
  • Loading branch information
ysksn authored and hiyuki2578 committed Oct 2, 2019
1 parent 89ef3ad commit f4578a7
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions app/models/form/status_batch.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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'
Expand Down

0 comments on commit f4578a7

Please sign in to comment.