From 69ffce72a003912ec4839cc03bface11816a0e31 Mon Sep 17 00:00:00 2001 From: Sam Date: Fri, 30 May 2014 14:50:03 +1000 Subject: [PATCH] Remove dead code --- app/serializers/user_serializer.rb | 5 ----- 1 file changed, 5 deletions(-) diff --git a/app/serializers/user_serializer.rb b/app/serializers/user_serializer.rb index ec3a2cecfc4..cc5aae4b972 100644 --- a/app/serializers/user_serializer.rb +++ b/app/serializers/user_serializer.rb @@ -69,15 +69,10 @@ class UserSerializer < BasicUserSerializer :watched_category_ids, :private_messages_stats, :disable_jump_reply, - :system_avatar_upload_id, :gravatar_avatar_upload_id, :custom_avatar_upload_id, :uploaded_avatar_id - def system_avatar_upload_id - object.user_avatar.try(:system_upload_id) - end - def gravatar_avatar_upload_id object.user_avatar.try(:gravatar_upload_id) end