From: Mitch Jackson Date: Tue, 9 Oct 2018 23:20:23 +0000 (-0400) Subject: RT# 71955 JSON::XS -> Cpanel::JSON::XS X-Git-Url: http://git.freeside.biz/gitweb/?p=freeside.git;a=commitdiff_plain;h=ad508340f946534f49c3050bee4dd704b0c945fa RT# 71955 JSON::XS -> Cpanel::JSON::XS --- diff --git a/FS/FS/Template_Mixin.pm b/FS/FS/Template_Mixin.pm index d3994e57f..b22748a4d 100644 --- a/FS/FS/Template_Mixin.pm +++ b/FS/FS/Template_Mixin.pm @@ -2486,7 +2486,7 @@ use CAM::PDF; use IO::Socket::SSL; use LWP::UserAgent; use HTTP::Request::Common qw( POST ); -use JSON::XS; +use Cpanel::JSON::XS; use MIME::Base64; sub postal_mail_fsinc { my ( $self, %opt ) = @_; diff --git a/FS/FS/cdr.pm b/FS/FS/cdr.pm index 2c8350834..f8eef017c 100644 --- a/FS/FS/cdr.pm +++ b/FS/FS/cdr.pm @@ -29,7 +29,7 @@ use FS::rate_detail; use LWP::UserAgent; use HTTP::Request::Common qw(POST); use IO::Socket::SSL; -use JSON::XS qw(decode_json); +use Cpanel::JSON::XS; @ISA = qw(FS::Record); @EXPORT_OK = qw( _cdr_date_parser_maker _cdr_min_parser_maker _cdr_date_parse ); diff --git a/FS/FS/part_export/portaone.pm b/FS/FS/part_export/portaone.pm index 27a956f42..986a556ba 100644 --- a/FS/FS/part_export/portaone.pm +++ b/FS/FS/part_export/portaone.pm @@ -5,7 +5,7 @@ use strict; use base qw( FS::part_export ); use Date::Format 'time2str'; -use JSON::XS; +use Cpanel::JSON::XS; use Net::HTTPS::Any qw(https_post); use FS::Conf; diff --git a/FS/FS/part_export/sipwise.pm b/FS/FS/part_export/sipwise.pm index 2585991f8..9d4e3366e 100644 --- a/FS/FS/part_export/sipwise.pm +++ b/FS/FS/part_export/sipwise.pm @@ -8,7 +8,7 @@ use Tie::IxHash; use IO::Socket::SSL; use LWP::UserAgent; use URI; -use JSON::XS; +use Cpanel::JSON::XS; use HTTP::Request::Common qw(GET POST PUT DELETE); use FS::Misc::DateTime qw(parse_datetime); use DateTime;