Skip to content

Commit

Permalink
Tidying: eliminate some unused variables
Browse files Browse the repository at this point in the history
  • Loading branch information
bschmalhofer committed Jan 3, 2025
1 parent 0301ac2 commit 823492d
Showing 1 changed file with 0 additions and 16 deletions.
16 changes: 0 additions & 16 deletions Kernel/Modules/AgentTicketEmailOutbound.pm
Original file line number Diff line number Diff line change
Expand Up @@ -188,20 +188,13 @@ sub Run {

my %Ticket = $TicketObject->TicketGet( TicketID => $Self->{TicketID} );
my $CustomerUser = $Ticket{CustomerUserID};
my $QueueID = $Ticket{QueueID};

# get config object
my $ConfigObject = $Kernel::OM->Get('Kernel::Config');

# get config for frontend module
my $Config = $ConfigObject->Get("Ticket::Frontend::$Self->{Action}");

# get list type
my $TreeView = 0;
if ( $ConfigObject->Get('Ticket::Frontend::ListType') eq 'tree' ) {
$TreeView = 1;
}

my $NextStates = $Self->_GetNextStates(
%GetParam,
CustomerUserID => $CustomerUser || '',
Expand Down Expand Up @@ -999,7 +992,6 @@ sub SendEmail {
}
$GetParam{DynamicField} = \%DynamicFieldACLParameters;

my $QueueID = $Self->{QueueID};
my %StateData;

if ( $GetParam{ComposeStateID} ) {
Expand Down Expand Up @@ -1523,7 +1515,6 @@ sub SendEmail {
sub AjaxUpdate {
my ( $Self, %Param ) = @_;

my %Error;
my %ACLCompatGetParam;

# get param object
Expand All @@ -1533,11 +1524,7 @@ sub AjaxUpdate {
$ACLCompatGetParam{NextStateID} = $ParamObject->GetParam( Param => 'NextStateID' );

my %GetParamExtended = $Self->_GetExtendedParams();

my %GetParam = %{ $GetParamExtended{GetParam} };
my @MultipleCustomer = @{ $GetParamExtended{MultipleCustomer} };
my @MultipleCustomerCc = @{ $GetParamExtended{MultipleCustomerCc} };
my @MultipleCustomerBcc = @{ $GetParamExtended{MultipleCustomerBcc} };

my %Ticket = $Kernel::OM->Get('Kernel::System::Ticket')->TicketGet( TicketID => $Self->{TicketID} );

Expand Down Expand Up @@ -1616,9 +1603,6 @@ sub AjaxUpdate {

my %DynamicFieldValues;

# get config for frontend module
my $Config = $ConfigObject->Get("Ticket::Frontend::$Self->{Action}");

# get needed objects
my $DynamicFieldBackendObject = $Kernel::OM->Get('Kernel::System::DynamicField::Backend');
my $LayoutObject = $Kernel::OM->Get('Kernel::Output::HTML::Layout');
Expand Down

0 comments on commit 823492d

Please sign in to comment.