Take out extra callback
This commit is contained in:
parent
55c5b4e525
commit
dd11edf033
1 changed files with 0 additions and 3 deletions
|
|
@ -7,9 +7,6 @@ class Service < ActiveRecord::Base
|
|||
|
||||
belongs_to :user
|
||||
has_many :service_users
|
||||
after_create do
|
||||
Resque.enqueue(Job::UpdateServiceUsers, self.id) if self.respond_to? :save_friends
|
||||
end
|
||||
|
||||
def public_message(post, length, url = "")
|
||||
url = "" if post.respond_to?(:photos) && post.photos.count == 0
|
||||
|
|
|
|||
Loading…
Reference in a new issue