瀏覽代碼

Remove Targetable (#3548)

Akihiko Odaki (@fn_aki@pawoo.net) 7 年之前
父節點
當前提交
19084d3c6c
共有 2 個文件被更改,包括 0 次插入8 次删除
  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