about summary refs log tree commit diff
diff options
context:
space:
mode:
authorAkihiko Odaki (@fn_aki@pawoo.net) <akihiko.odaki.4i@stu.hosei.ac.jp>2017-06-04 21:56:10 +0900
committerEugen Rochko <eugen@zeonfederated.com>2017-06-04 14:56:10 +0200
commit19084d3c6cb435ca669ea06daf29c213ebdc149c (patch)
tree8e19a43d0b90349e4909b69302df04cae92e7dfb
parente014bf8ed01a5f6ff30d345ce056b667965d64c6 (diff)
Remove Targetable (#3548)
-rw-r--r--app/models/account.rb1
-rw-r--r--app/models/concerns/targetable.rb7
2 files changed, 0 insertions, 8 deletions
diff --git a/app/models/account.rb b/app/models/account.rb
index 4561fd0a4..5b0d2d65c 100644
--- a/app/models/account.rb
+++ b/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
diff --git a/app/models/concerns/targetable.rb b/app/models/concerns/targetable.rb
deleted file mode 100644
index 506253bed..000000000
--- a/app/models/concerns/targetable.rb
+++ /dev/null
@@ -1,7 +0,0 @@
-# frozen_string_literal: true
-
-module Targetable
-  def object_type
-    :object
-  end
-end