Remove old unused salmon method
This commit is contained in:
parent
246d1ebbdf
commit
07e9bf8be8
1 changed files with 0 additions and 4 deletions
|
|
@ -268,10 +268,6 @@ class User < ActiveRecord::Base
|
||||||
end
|
end
|
||||||
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.
|
# Check whether the user has liked a post.
|
||||||
# @param [Post] post
|
# @param [Post] post
|
||||||
def liked?(target)
|
def liked?(target)
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue