From 823492d3dfff1f2ce51f17555a1a42d0b49c85de Mon Sep 17 00:00:00 2001 From: bernhard Date: Fri, 3 Jan 2025 11:01:33 +0100 Subject: [PATCH] Tidying: eliminate some unused variables --- Kernel/Modules/AgentTicketEmailOutbound.pm | 16 ---------------- 1 file changed, 16 deletions(-) diff --git a/Kernel/Modules/AgentTicketEmailOutbound.pm b/Kernel/Modules/AgentTicketEmailOutbound.pm index aabcc034c..db9ccdc81 100644 --- a/Kernel/Modules/AgentTicketEmailOutbound.pm +++ b/Kernel/Modules/AgentTicketEmailOutbound.pm @@ -188,7 +188,6 @@ 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'); @@ -196,12 +195,6 @@ sub Run { # 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 || '', @@ -999,7 +992,6 @@ sub SendEmail { } $GetParam{DynamicField} = \%DynamicFieldACLParameters; - my $QueueID = $Self->{QueueID}; my %StateData; if ( $GetParam{ComposeStateID} ) { @@ -1523,7 +1515,6 @@ sub SendEmail { sub AjaxUpdate { my ( $Self, %Param ) = @_; - my %Error; my %ACLCompatGetParam; # get param object @@ -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} ); @@ -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');