aboutsummaryrefslogtreecommitdiffstats
path: root/app/models/user.rb
diff options
context:
space:
mode:
Diffstat (limited to 'app/models/user.rb')
-rw-r--r--app/models/user.rb1
1 files changed, 0 insertions, 1 deletions
diff --git a/app/models/user.rb b/app/models/user.rb
index 4cd3394b4..00fd332ad 100644
--- a/app/models/user.rb
+++ b/app/models/user.rb
@@ -283,7 +283,6 @@ class User < ActiveRecord::Base
old_profile_photo = self.profile_photo
self.profile_photo = nil
end
- new_profile_photo.user = self
self.profile_photo = new_profile_photo
end
if !old_profile_photo.nil?