Remove old unused salmon method

This commit is contained in:
Benjamin Neff 2017-04-30 17:42:19 +02:00
parent 246d1ebbdf
commit 07e9bf8be8
No known key found for this signature in database
GPG key ID: 971464C3F1A90194

View file

@ -268,10 +268,6 @@ class User < ActiveRecord::Base
end
end
def salmon(post)
Salmon::EncryptedSlap.create_by_user_and_activity(self, post.to_diaspora_xml)
end
# Check whether the user has liked a post.
# @param [Post] post
def liked?(target)