summaryrefslogtreecommitdiff
path: root/htetc
diff options
context:
space:
mode:
Diffstat (limited to 'htetc')
-rw-r--r--htetc/global.asa7
-rw-r--r--htetc/handler.pl11
2 files changed, 4 insertions, 14 deletions
diff --git a/htetc/global.asa b/htetc/global.asa
index bb30608a4..39ec898de 100644
--- a/htetc/global.asa
+++ b/htetc/global.asa
@@ -14,7 +14,6 @@ use Time::Duration;
use Tie::IxHash;
use URI::Escape;
use HTML::Entities;
-use JSON;
use IO::Handle;
use IO::File;
use IO::Scalar;
@@ -28,7 +27,7 @@ use Spreadsheet::WriteExcel;
use Business::CreditCard;
use String::Approx qw(amatch);
use Chart::LinesPoints;
-use HTML::Widgets::SelectLayers 0.05;
+use HTML::Widgets::SelectLayers 0.03;
use FS;
use FS::UID qw(cgisuidsetup dbh getotaker datasrc driver_name);
use FS::Record qw(qsearch qsearchs fields dbdef);
@@ -48,7 +47,7 @@ use FS::cust_bill;
use FS::cust_bill_pay;
use FS::cust_credit;
use FS::cust_credit_bill;
-use FS::cust_main qw(smart_search);
+use FS::cust_main;
use FS::cust_main_county;
use FS::cust_pay;
use FS::cust_pkg;
@@ -83,8 +82,6 @@ use FS::msgcat;
use FS::rate;
use FS::rate_region;
use FS::rate_prefix;
-use FS::payment_gateway;
-use FS::agent_payment_gateway;
sub Script_OnStart {
$Response->AddHeader('Cache-control' => 'no-cache');
diff --git a/htetc/handler.pl b/htetc/handler.pl
index 2f2b0af4a..ad671d6c7 100644
--- a/htetc/handler.pl
+++ b/htetc/handler.pl
@@ -20,8 +20,6 @@ use HTML::Mason::ApacheHandler;
use strict;
-###use Module::Refresh;###
-
# List of modules that you want to use from components (see Admin
# manual for details)
#{ package HTML::Mason::Commands;
@@ -99,7 +97,6 @@ sub handler
use Tie::IxHash;
use URI::Escape;
use HTML::Entities;
- use JSON;
use IO::Handle;
use IO::File;
use IO::Scalar;
@@ -113,7 +110,7 @@ sub handler
use Business::CreditCard;
use String::Approx qw(amatch);
use Chart::LinesPoints;
- use HTML::Widgets::SelectLayers 0.05;
+ use HTML::Widgets::SelectLayers 0.03;
use FS;
use FS::UID qw(cgisuidsetup dbh getotaker datasrc driver_name);
use FS::Record qw(qsearch qsearchs fields dbdef);
@@ -168,8 +165,6 @@ sub handler
use FS::rate;
use FS::rate_region;
use FS::rate_prefix;
- use FS::payment_gateway;
- use FS::agent_payment_gateway;
use FS::XMLRPC;
if ( %%%RT_ENABLED%%% ) {
@@ -187,7 +182,7 @@ sub handler
use RT::GroupMembers;
use RT::CustomFields;
use RT::CustomFieldValues;
- use RT::ObjectCustomFieldValues;
+ use RT::TicketCustomFieldValues;
use RT::Interface::Web;
use MIME::Entity;
@@ -273,8 +268,6 @@ sub handler
} # end package HTML::Mason::Commands;
- ###Module::Refresh->refresh;###
-
$r->content_type('text/html');
#eorar