summaryrefslogtreecommitdiff
path: root/httemplate/elements/select-tiered.html
diff options
context:
space:
mode:
authorIvan Kohler <ivan@freeside.biz>2013-04-17 20:44:39 -0700
committerIvan Kohler <ivan@freeside.biz>2013-04-17 20:44:39 -0700
commit04bf3e2423b070d3e3e2a2e6006b678bcf11b481 (patch)
treedf34ab7f8a9a14305a2b2b6124035f680cc559ef /httemplate/elements/select-tiered.html
parent9fbee73725ce02023c76179d573048cf4177903b (diff)
move from legacy compat JSON to_json to modern JSON::XS encode_json, RT#22630
Diffstat (limited to 'httemplate/elements/select-tiered.html')
-rw-r--r--httemplate/elements/select-tiered.html7
1 files changed, 0 insertions, 7 deletions
diff --git a/httemplate/elements/select-tiered.html b/httemplate/elements/select-tiered.html
index e332eeff8..3ff5471ae 100644
--- a/httemplate/elements/select-tiered.html
+++ b/httemplate/elements/select-tiered.html
@@ -124,13 +124,6 @@ my %opt = @_;
my $pre = $opt{prefix} || '';
my $tiers = $opt{tiers} or die "no tiers defined";
-#my $json = JSON->new()->canonical(); #sort
-# something super weird and broken going on with JSON's auto-loading, just
-# using JSON alone errors out with
-# Can't locate object method "new" via package "null" (perhaps you forgot to
-# load "null"?)
-# yes, "null", not "JSON". so instead, using JSON::XS explicity...
-use JSON::XS;
my $json = JSON::XS->new();
$json->canonical;