about summary refs log tree commit diff
path: root/app/models
diff options
context:
space:
mode:
authorJenkins <jenkins@jenkins.ninjawedding.org>2018-01-08 10:17:15 +0000
committerJenkins <jenkins@jenkins.ninjawedding.org>2018-01-08 10:17:15 +0000
commitf839ac694c3f8050e4c7ec84884283e35f6ac662 (patch)
tree68ab420feffbfc99de00d72f2e6b0beae4a7b7a0 /app/models
parent722b3f567f18ae31b05f320441c73279b4f5ad11 (diff)
parentdbda87c31f7d7ede7312ba422940841d8c96c171 (diff)
Merge remote-tracking branch 'tootsuite/master' into glitchsoc/master
Diffstat (limited to 'app/models')
-rw-r--r--app/models/follow_request.rb4
1 files changed, 0 insertions, 4 deletions
diff --git a/app/models/follow_request.rb b/app/models/follow_request.rb
index 33e5fec12..ebf6959ce 100644
--- a/app/models/follow_request.rb
+++ b/app/models/follow_request.rb
@@ -21,10 +21,6 @@ class FollowRequest < ApplicationRecord
 
   validates :account_id, uniqueness: { scope: :target_account_id }
 
-  def object_type
-    :follow
-  end
-
   def authorize!
     account.follow!(target_account, reblogs: show_reblogs)
     MergeWorker.perform_async(target_account.id, account.id)