From 19084d3c6cb435ca669ea06daf29c213ebdc149c Mon Sep 17 00:00:00 2001 From: "Akihiko Odaki (@fn_aki@pawoo.net)" Date: Sun, 4 Jun 2017 21:56:10 +0900 Subject: [PATCH] Remove Targetable (#3548) --- app/models/account.rb | 1 - app/models/concerns/targetable.rb | 7 ------- 2 files changed, 8 deletions(-) delete mode 100644 app/models/concerns/targetable.rb diff --git a/app/models/account.rb b/app/models/account.rb index 4561fd0a48..5b0d2d65c6 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 506253bed9..0000000000 --- a/app/models/concerns/targetable.rb +++ /dev/null @@ -1,7 +0,0 @@ -# frozen_string_literal: true - -module Targetable - def object_type - :object - end -end