Remove dead code
This commit is contained in:
parent
106838b92b
commit
69ffce72a0
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue