From ebac07b287bfc619dcc04333b7832dcf771d9eab Mon Sep 17 00:00:00 2001 From: Damien Regad Date: Fri, 8 Sep 2017 17:59:34 +0200 Subject: [PATCH] Remove unused variable assignment --- api/soap/mc_enum_api.php | 1 - 1 file changed, 1 deletion(-) diff --git a/api/soap/mc_enum_api.php b/api/soap/mc_enum_api.php index 2e45f2a2b5..371970fe8f 100644 --- a/api/soap/mc_enum_api.php +++ b/api/soap/mc_enum_api.php @@ -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 );