diff --git a/app/models/photo.rb b/app/models/photo.rb index 0115d9af0..5a5dd1c90 100644 --- a/app/models/photo.rb +++ b/app/models/photo.rb @@ -29,6 +29,5 @@ class Photo < Post def remote_photo= remote_path image.download! remote_path image.store! - save end end diff --git a/lib/common.rb b/lib/common.rb index 7fd24eb6e..be129d051 100644 --- a/lib/common.rb +++ b/lib/common.rb @@ -51,7 +51,7 @@ module Diaspora User.owner.receive_friend_request(p) #This line checks if the sender was in the database, among other things? elsif p.respond_to?(:person) && !(p.person.nil?) && !(p.person.is_a? User) #WTF - p.save + Rails.logger.info("Saving object with success: #{p.save}") end #p.save if p.respond_to?(:person) && !(p.person == nil) #WTF end