update NeopetsUser TODOs

This commit is contained in:
Matchu 2015-07-27 19:37:29 -04:00
parent bce2634d2a
commit 954866a3d3

View file

@ -17,7 +17,7 @@ class NeopetsUser
end end
def list_id=(list_id) def list_id=(list_id)
# TODO: DRY up with ClosetPage # TODO: use null lists instead
@list_id = list_id @list_id = list_id
if list_id == 'true' if list_id == 'true'
@closet_list = nil @closet_list = nil
@ -58,7 +58,7 @@ class NeopetsUser
item_quantities[i] += 1 item_quantities[i] += 1
end end
# TODO: DRY up with ClosetPage # TODO: DRY up with NeopetsPage
# We don't want to insert duplicate hangers of what a user owns if they # We don't want to insert duplicate hangers of what a user owns if they
# already have it in another list (e.g. imports to Items You Own *after* # already have it in another list (e.g. imports to Items You Own *after*
# curating their Up For Trade list), so we check for the hanger's presence # curating their Up For Trade list), so we check for the hanger's presence