logo

mastofe

My custom branche(s) on git.pleroma.social/pleroma/mastofe
commit: 19084d3c6cb435ca669ea06daf29c213ebdc149c
parent: e014bf8ed01a5f6ff30d345ce056b667965d64c6
Author: Akihiko Odaki (@fn_aki@pawoo.net) <akihiko.odaki.4i@stu.hosei.ac.jp>
Date:   Sun,  4 Jun 2017 21:56:10 +0900

Remove Targetable (#3548)


Diffstat:

Mapp/models/account.rb1-
Dapp/models/concerns/targetable.rb7-------
2 files changed, 0 insertions(+), 8 deletions(-)

diff --git 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 @@ -1,7 +0,0 @@ -# frozen_string_literal: true - -module Targetable - def object_type - :object - end -end