Skip to content

Commit

Permalink
Removed unnecessary call of PossibleValuesGet from dynamic field driv…
Browse files Browse the repository at this point in the history
…ers WebserviceDropdown and WebserviceMultiselect. It had a side effect on Kernel::System::Stats::Dynamic::TicketList::GetStatTable.
  • Loading branch information
jepf committed Feb 1, 2024
1 parent 8156767 commit 4eb77a2
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 8 deletions.
4 changes: 0 additions & 4 deletions Kernel/System/DynamicField/Driver/WebserviceDropdown.pm
Original file line number Diff line number Diff line change
Expand Up @@ -279,10 +279,6 @@ sub ReadableValueRender {

my $DynamicFieldWebserviceObject = $Kernel::OM->Get('Kernel::System::DynamicField::Webservice');

$Param{DynamicFieldConfig}->{Config}->{PossibleValues} = $Self->PossibleValuesGet(%Param);

my $PossibleValues = $Param{DynamicFieldConfig}->{Config}->{PossibleValues};

# set Value and Title variables
my $Value = '';
my $Title = '';
Expand Down
4 changes: 0 additions & 4 deletions Kernel/System/DynamicField/Driver/WebserviceMultiselect.pm
Original file line number Diff line number Diff line change
Expand Up @@ -431,10 +431,6 @@ sub ReadableValueRender {

my $DynamicFieldWebserviceObject = $Kernel::OM->Get('Kernel::System::DynamicField::Webservice');

$Param{DynamicFieldConfig}->{Config}->{PossibleValues} = $Self->PossibleValuesGet(%Param);

my $PossibleValues = $Param{DynamicFieldConfig}->{Config}->{PossibleValues};

# set Value and Title variables
my $Value = '';
my $Title = '';
Expand Down

0 comments on commit 4eb77a2

Please sign in to comment.