Skip to content

Commit

Permalink
Tidying: eliminate the unused variable $RemoveThisEntry
Browse files Browse the repository at this point in the history
  • Loading branch information
bschmalhofer committed Jan 13, 2025
1 parent e2d5e5c commit ea6ed4d
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 12 deletions.
4 changes: 1 addition & 3 deletions Kernel/System/SysConfig/BaseValueType.pm
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
# OTOBO is a web-based ticketing system for service organisations.
# --
# Copyright (C) 2001-2020 OTRS AG, https://otrs.com/
# Copyright (C) 2019-2024 Rother OSS GmbH, https://otobo.io/
# Copyright (C) 2019-2025 Rother OSS GmbH, https://otobo.io/
# --
# This program is free software: you can redistribute it and/or modify it under
# the terms of the GNU General Public License as published by the Free Software
Expand Down Expand Up @@ -423,8 +423,6 @@ sub AddItem {
$DefaultValue = $Param{DefaultItem} && $Param{DefaultItem}->{Content} || '';
}

my $RemoveThisEntry = $Kernel::OM->Get('Kernel::Language')->Translate("Remove this entry");

my $Result = "<input type='text' id='$Name'
value='$DefaultValue' name='$Param{Name}' class='$Class Entry'/>";

Expand Down
4 changes: 1 addition & 3 deletions Kernel/System/SysConfig/ValueType/Password.pm
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
# OTOBO is a web-based ticketing system for service organisations.
# --
# Copyright (C) 2001-2020 OTRS AG, https://otrs.com/
# Copyright (C) 2019-2024 Rother OSS GmbH, https://otobo.io/
# Copyright (C) 2019-2025 Rother OSS GmbH, https://otobo.io/
# --
# This program is free software: you can redistribute it and/or modify it under
# the terms of the GNU General Public License as published by the Free Software
Expand Down Expand Up @@ -204,8 +204,6 @@ sub AddItem {
$DefaultValue = $Param{DefaultItem} && $Param{DefaultItem}->{Content} || '';
}

my $RemoveThisEntry = $Kernel::OM->Get('Kernel::Language')->Translate("Remove this entry");

my $Result = "<input type='password' id='$Param{Name}$IDSuffix'
value='$DefaultValue' name='$Param{Name}' class='$Class Entry'/>";

Expand Down
4 changes: 1 addition & 3 deletions Kernel/System/SysConfig/ValueType/VacationDays.pm
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
# OTOBO is a web-based ticketing system for service organisations.
# --
# Copyright (C) 2001-2020 OTRS AG, https://otrs.com/
# Copyright (C) 2019-2024 Rother OSS GmbH, https://otobo.io/
# Copyright (C) 2019-2025 Rother OSS GmbH, https://otobo.io/
# --
# This program is free software: you can redistribute it and/or modify it under
# the terms of the GNU General Public License as published by the Free Software
Expand Down Expand Up @@ -483,8 +483,6 @@ sub AddItem {
push @Months, sprintf( "%02d", $Item );
}

my $RemoveThisEntry = $Kernel::OM->Get('Kernel::Language')->Translate("Remove this entry");

my $HTML = "";

# month
Expand Down
4 changes: 1 addition & 3 deletions Kernel/System/SysConfig/ValueType/VacationDaysOneTime.pm
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
# OTOBO is a web-based ticketing system for service organisations.
# --
# Copyright (C) 2001-2020 OTRS AG, https://otrs.com/
# Copyright (C) 2019-2024 Rother OSS GmbH, https://otobo.io/
# Copyright (C) 2019-2025 Rother OSS GmbH, https://otobo.io/
# --
# This program is free software: you can redistribute it and/or modify it under
# the terms of the GNU General Public License as published by the Free Software
Expand Down Expand Up @@ -530,8 +530,6 @@ sub AddItem {
push @Months, sprintf( "%02d", $Item );
}

my $RemoveThisEntry = $Kernel::OM->Get('Kernel::Language')->Translate("Remove this entry");

my $DateTime = $Kernel::OM->Create('Kernel::System::DateTime')->Get();

my $HTML = "";
Expand Down

0 comments on commit ea6ed4d

Please sign in to comment.