Skip to content

Commit

Permalink
Remove unused variable assignment
Browse files Browse the repository at this point in the history
  • Loading branch information
dregad committed Sep 8, 2017
1 parent b380aee commit ebac07b
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion api/soap/mc_enum_api.php
Expand Up @@ -289,7 +289,6 @@ function mci_enum_get_array_by_id( $p_enum_id, $p_enum_type, $p_lang ) {
# Soap API returns the localized label as the name
$t_result['name'] = MantisEnum::getLocalizedLabel( $t_enum_string_value, $t_enum_localized_value, $p_enum_id );
} else {
$t_enum_array = MantisEnum::getAssocArrayIndexedByValues( $t_enum_string_value );
$t_result['name'] = MantisEnum::getLabel( $t_enum_string_value, $p_enum_id );
$t_result['label'] = MantisEnum::getLocalizedLabel( $t_enum_string_value, $t_enum_localized_value, $p_enum_id );

Expand Down

0 comments on commit ebac07b

Please sign in to comment.