Explorar o código

Remove Targetable (#3548)

Akihiko Odaki (@fn_aki@pawoo.net) %!s(int64=7) %!d(string=hai) anos
pai
achega
19084d3c6c
Modificáronse 2 ficheiros con 0 adicións e 8 borrados
  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