Take out extra callback

This commit is contained in:
Raphael Sofaer 2011-03-23 10:42:27 -07:00
parent 55c5b4e525
commit dd11edf033

View file

@ -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