Bladeren bron

Remove Targetable (#3548)

Akihiko Odaki (@fn_aki@pawoo.net) 7 jaren geleden
bovenliggende
commit
19084d3c6c
2 gewijzigde bestanden met toevoegingen van 0 en 8 verwijderingen
  1. 0 1
      app/models/account.rb
  2. 0 7
      app/models/concerns/targetable.rb

+ 0 - 1
app/models/account.rb

@@ -47,7 +47,6 @@ class Account < ApplicationRecord
   include AccountInteractions
   include Attachmentable
   include Remotable
-  include Targetable
 
   # Local users
   has_one :user, inverse_of: :account

+ 0 - 7
app/models/concerns/targetable.rb

@@ -1,7 +0,0 @@
-# frozen_string_literal: true
-
-module Targetable
-  def object_type
-    :object
-  end
-end