aboutsummaryrefslogtreecommitdiffstats
path: root/app/models/user.rb
diff options
context:
space:
mode:
authorFrancis Irving <francis@mysociety.org>2010-07-14 16:00:12 +0100
committerFrancis Irving <francis@mysociety.org>2010-07-14 16:00:12 +0100
commit2b91bbb4db04b6f3935478a3f6e8a0fe61fc06fb (patch)
tree154776728f256f302419913e84882a6991532de5 /app/models/user.rb
parentf4164cd4099edcc7c7ad947ce128544d42027498 (diff)
Remove mapping from photo to user
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?