[ljcom] r9380: LJSUP-6515

Committer: gprochaev
LJSUP-6515

U   trunk/cgi-bin/LJ/Widget/Shop/View/UserHeads.pm
Modified: trunk/cgi-bin/LJ/Widget/Shop/View/UserHeads.pm
===================================================================
--- trunk/cgi-bin/LJ/Widget/Shop/View/UserHeads.pm	2010-08-24 03:25:27 UTC (rev 9379)
+++ trunk/cgi-bin/LJ/Widget/Shop/View/UserHeads.pm	2010-08-24 06:31:58 UTC (rev 9380)
@@ -38,8 +38,6 @@
     my $gift = ((!$remote || LJ::Request->get_param('gift'))) || 0;
     my $recipient = $gift ? LJ::load_user(LJ::Request->get_param('giftto')) : undef;
 
-    my %js_prices = map { $_->{uh_id} => $_->{price} } @{LJ::UserHead->get_all_userheads (1)};
-
     my ($sec, $min, $hour, $mday, $mon, $year) = localtime(time);
 
     # autocomplete To field on Add form
@@ -67,7 +65,6 @@
         giveafter_dd        => LJ::Request->post_param('giveafter_dd') || $mday,
         giveafter_mm        => LJ::Request->post_param('giveafter_mm') || ($mon + 1),
         giveafter_yyyy      => LJ::Request->post_param('giveafter_yyyy') || ($year + 1900),
-        js_prices           => LJ::JSON->to_json(\%js_prices),
 
         js_complete         => $js_complete,